dougm 01/04/11 15:50:53
Added: xs/APR/Const Const.pm Const.xs Makefile.PL
Log:
module for compiling/export constants in the APR:: namespace
Revision Changes Path
1.1 modperl-2.0/xs/APR/Const/Const.pm
Index: Const.pm
===================================================================
package APR::Const;
use ModPerl::Const ();
use XSLoader ();
our $VERSION = '0.01';
our @ISA = qw(ModPerl::Const);
XSLoader::load(__PACKAGE__, $VERSION);
1;
1.1 modperl-2.0/xs/APR/Const/Const.xs
Index: Const.xs
===================================================================
#include "mod_perl.h"
#include "modperl_const.h"
MODULE = APR::Const PACKAGE = APR::Const
BOOT:
newXS("APR::Const::compile", XS_modperl_const_compile, file);
1.1 modperl-2.0/xs/APR/Const/Makefile.PL
Index: Makefile.PL
===================================================================
use lib qw(../lib);
use ModPerl::MM ();
ModPerl::MM::WriteMakefile(
NAME => 'APR::Const',
VERSION_FROM => 'Const.pm',
);