Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Typemap in Perl XS (no)

by tye (Sage)
on Aug 14, 2012 at 14:26 UTC ( #987369=note: print w/replies, xml ) Need Help??

in reply to Re^2: Typemap in Perl XS (no)
in thread Typemap in Perl XS

That sounds like 'char *' not 'void **'.

You need to be clearer on how "the string" should be allocated, at least.

- tye        

Replies are listed 'Best First'.
Re^4: Typemap in Perl XS (no)
by sohan123 (Novice) on Aug 14, 2012 at 14:39 UTC
    Yes..Thats fine. What i want to know is that how should i pass pointer to a pointer to a Perl XS subroutine? Even if i use char**, it breaks at run time saying "undefined symbol: XS_unpack_charPtrPtr".

      Yes. That's fine. Good luck working that out with somebody who you care to actually share some details so that they can help you.

      - tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987369]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2018-05-21 23:43 GMT
Find Nodes?
    Voting Booth?