Re: Can't build XS code

2004-03-03 Thread Scott T. Hildreth
As posted earlier, the Active State Perl runs under the Windows environment and the cygwin Perl is compiled under the cygwin unix type environment. So if you are compiling modules under cygwin, you need to use the cygwin compiled perl. On Wed, 2004-03-03 at 09:18, Doug Brann wrote: Dear

Re: Can't build XS code

2004-03-04 Thread Scott T. Hildreth
On Wed, 2004-03-03 at 16:47, Nick Ing-Simmons wrote: Scott T. Hildreth [EMAIL PROTECTED] writes: As posted earlier, the Active State Perl runs under the Windows environment and the cygwin Perl is compiled under the cygwin unix type environment. So if you are compiling modules under cygwin

Re: Bumping ref count on a parent object

2004-05-26 Thread Scott T. Hildreth
PPCODE: /* Grab the list of pointers */ meta_list = SwishMetaList( swish_handle, index_name ); PUSHMARK(SP) ; XPUSHs( (SV *)swish_handle ); XPUSHs( (SV *)meta_list ); XPUSHs( (SV *)SWISH::API::MetaName); PUTBACK ; /*

Re: Bumping ref count on a parent object

2004-05-26 Thread Scott T. Hildreth
On Wed, 2004-05-26 at 10:12, Bill Moseley wrote: On Wed, May 26, 2004 at 09:13:10AM -0500, Scott T. Hildreth wrote: Expecting a single value is not quite the same as knowing that there will be one. If someone modified Adder to return a list and we didn't check

Re: Newbe question(s)

2004-09-01 Thread Scott T. Hildreth
Embedding Extending Perl http://www.bookpool.com/.x/72743zaio4/ss/1?qs=embedding+%26+extending+perlGo.x=0Go.y=0Go=Go On Wed, 2004-09-01 at 09:18, Reinhard Pagitsch wrote: Dear all, I am searching for a good tutorial, book for the XS programming under Perl for beginners. Does anyone know

XS_unpack_ptrptr undefined.

2004-09-23 Thread Scott T. Hildreth
Hello, I've seen this posted before, but I'm not sure what the answer is. I have an XS interface to a 'C' library, which I used h2xs to create. One of the functions takes argc argv parameters. The h2xs created argv as a char **, which is obviously correct. When I run make test which is

Re: XS_unpack_ptrptr undefined.

2004-09-23 Thread Scott T. Hildreth
to bother, I should have searched groups earlier. I did do a Google and perl-xs list search though. =8^) Thanks, STH On Thu, 2004-09-23 at 09:13, Scott T. Hildreth wrote: Hello, I've seen this posted before, but I'm not sure what

Re: 5.8.0 vs 5.8.+

2004-12-03 Thread Scott T. Hildreth
On Thu, 2004-12-02 at 12:11, Billy Patton wrote: Because of the perl version wars (mine is better) here at work, and the incompatability of versions between platform, (incompatability meaning Linux-perl-5.8.1 SunOS-perl-5.00500 /usr/local/bin/perl) I'm forced to compile my XS for: SunOS

Calling function pointers.

2005-03-25 Thread Scott T. Hildreth
in the struct. (char *)(*directives-get)() *(*directives-get)() ...neither of which works. Any help would be much appreciated. Thanks, STH -- Scott T. Hildreth [EMAIL PROTECTED]

Re: Calling function pointers.

2005-03-25 Thread Scott T. Hildreth
On Fri, 2005-03-25 at 14:03 -0500, muppet wrote: Scott T. Hildreth said: I am trying to call a function (from a structure that has a function pointer) from my XS code. It will return a char * that I will put on the stack. When it gets to the code where the code is called, perl just

Re: Calling function pointers.

2005-03-25 Thread Scott T. Hildreth
it help to show the *.c produced by xsupp? On Fri, 2005-03-25 at 14:21 -0600, Scott T. Hildreth wrote: On Fri, 2005-03-25 at 14:03 -0500, muppet wrote: Scott T. Hildreth said: I am trying to call a function (from a structure that has a function pointer) from my XS code. It will return

Re: Question to XSUB.h

2005-09-06 Thread Scott T. Hildreth
+0200, Reinhard Pagitsch wrote: Hello, In the XSUB.h in my CORE directory I can find defines for PerlDir_*. Does anyone know if there is a documentation about? Thank you, Reinhard -- Scott T. Hildreth [EMAIL PROTECTED]

Re: Question to XSUB.h

2005-09-06 Thread Scott T. Hildreth
it. regards, Reinhard Scott T. Hildreth wrote: I found them in my install, i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) \ i386-freebsd/CORE/iperlsys.h:#define PerlDir_chdir(name) \ i386-freebsd/CORE

Re: Compilation failure on FreeBSD

2005-10-30 Thread Scott T. Hildreth
= PerlIO_write(fh, string, string_len); check_io_error(check); } } -- Scott T. Hildreth [EMAIL PROTECTED]

Re: Accessing underlying OCI (of DBD::Oracle) in XS

2006-04-03 Thread Scott T. Hildreth
for the database routines, but this is not ideal. -- Scott T. Hildreth [EMAIL PROTECTED]

Re: 64 bit problems - XS wrappers

2006-07-13 Thread Scott T. Hildreth
Posting again, didn't see it show up on the list. ..I've seen the strlen() seg fault problem by searching, just no solutions. The string returned in RETVAL is null terminated, so I don't understand. On Thu, 2006-07-13 at 14:56 -0500, Scott T. Hildreth wrote: ...we are installing 64bit

Re: 64 bit problems - XS wrappers

2006-07-13 Thread Scott T. Hildreth
sv_any not be null? (gdb) n Program received signal SIGSEGV, Segmentation fault. 0x00473459 in Perl_sv_2mortal () On Thu, 2006-07-13 at 17:15 -0500, Scott T. Hildreth wrote: Posting again, didn't see it show up on the list. ..I've seen the strlen() seg fault problem by searching

64 bit problems - XS wrappers

2006-07-14 Thread Scott T. Hildreth
. STH -- Scott T. Hildreth [EMAIL PROTECTED]