Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Typemap in Perl XS (no)

by tye (Cardinal)
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        


Comment on Re^3: Typemap in Perl XS (no)
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (16)
As of 2014-07-23 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (143 votes), past polls