Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: Passing integer pointer in XS? (const)

by tye (Sage)
on Jul 18, 2016 at 21:51 UTC ( #1168011=note: print w/replies, xml ) Need Help??


in reply to Re^4: Passing integer pointer in XS? (OUTPUT:)
in thread Passing integer pointer in XS?

I suspect that those "char *" arguments are treated such that they could be "const char *" arguments. I also suspect that "\0" characters are not expected. But if I am wrong then, yes, you need to do more work than I did. Thanks.

- tye        

  • Comment on Re^5: Passing integer pointer in XS? (const)

Replies are listed 'Best First'.
Re^6: Passing integer pointer in XS? (const)
by ikegami (Pope) on Jul 18, 2016 at 21:54 UTC

    And thank you for showing me int &. It's not valid C, but apparently it's valid XS. I did not know that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-10-29 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (270 votes). Check out past polls.

    Notices?