Re: OUTPUT section of typemap file

2005-03-24 Thread Sisyphus
- Original Message - From: "Thompson, Lloyd D. (NSSD)" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 23, 2005 6:22 AM Subject: OUTPUT section of typemap file Hello, I'm using Inline::C to wrap a c api for use in perl. I've successfully wrapped some functions using the SV* perl type

Re: making an Inline::CPP based distribution

2005-03-24 Thread Sisyphus
- Original Message - From: "Alexandru Palade" <[EMAIL PROTECTED]> > VERSION_FROM => 'lib/ChmFile.pm', # finds $VERSION I think *that* is the problem - ie Inline doesn't know how to deal with the situation when ChmFile.pm is in the 'lib' folder. It wants ChmFile.pm to be in the

Re: making an Inline::CPP based distribution

2005-03-24 Thread Alexandru Palade
Ooops, sorry I didn't copy/paste it all Yes the makefile has the "use Inline::MakeMaker;" line in it. And well I've looked over all the Inline::C solutions and I can't seem to find the problem. On Thu, 24 Mar 2005 08:20:29 -0600, Eric Wilhelm <[EMAIL PROTECTED]> wrote: > # The following was supp

Re: making an Inline::CPP based distribution

2005-03-24 Thread Eric Wilhelm
# The following was supposedly scribed by # Alexandru Palade # on Thursday 24 March 2005 07:58 am: >My Makefile.pl is as simple as can be: Maybe it needs: use Inline::MakeMaker; >WriteMakefile( >    NAME              => 'ChmFile', >    VERSION_FROM      => 'lib/ChmFile.pm', # finds $VERSION > 

making an Inline::CPP based distribution

2005-03-24 Thread Alexandru Palade
Hello, I'm trying to wrap a C library into a Perl class and the solution I've tried is to actually wrap it in C++ and then use Inline::CPP to make it usable in Perl. It works fine, but the problem is making a CPAN distribution out of it. My code looks something like this: #package ChmFile;