XS::Assert - Provides assertion macros for XS modules
This document describes XS::Assert version 0.002.
# in your Makefile.PL requires_xs 'XS::Assert'; # done by M::X::XSUtil /* in MyModule.xs */ #include "xs_assert.h" /* and later */ assert_sv_ok(sv); assert_sv_is_av(sv);
XS::Assert provides various assertion macros for XS modules, which are enabled only if XS_ASSERT macro is defined.
XS_ASSERT
Perl 5.5.3 or later, and a C compiler.
No bugs have been reported.
Please report any bugs or feature requests to the author.
Module::Install::XSUtil.
Goro Fuji (gfx) <gfuji(at)cpan.org>
Copyright (c) 2009, Goro Fuji (gfx). Some rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install XS::Assert, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XS::Assert
CPAN shell
perl -MCPAN -e shell install XS::Assert
For more information on module installation, please visit the detailed CPAN module installation guide.