in reply to Re^4: mapping a C structure with perlXS
in thread mapping a C structure with perlXS

This does not seem the same error message (in the OP you refer to Bad pointer type in paramater number 1). Before going on, you can understand that even if many here are real wizards with Perl, nobody (not even merlyn, whatever he keeps saying :) has real psychic powers.

Please, post:

Just pretend to be the one on the other side of the net that's trying to help you: what would you need to try and help?

My English is as bad as yours, but it seems that we perfectly understand each other (I hope), so don't worry.

Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

Don't fool yourself.

Replies are listed 'Best First'.
Re^6: mapping a C structure with perlXS
by jeanba (Novice) on Jun 27, 2005 at 12:17 UTC
    Hi, sorry for my non-answering... I found the solution by using in my C code the funtion :
    PTR2UV(pointer); PTR2IV(pointer); PTR2NV(pointer); INT2PTR(pointertotype, integer);
    they allow me to keep connexion handlers from C code to Perl and Perl to C code...;) thank you for your help !!!