Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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)
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?
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 exploiting the Monastery: (5)
As of 2015-07-28 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls