Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^3: Inline::C - object accessor failure

by robin (Chaplain)
on Oct 26, 2005 at 22:12 UTC ( #503180=note: print w/replies, xml ) Need Help??

in reply to Re^2: Inline::C - object accessor failure
in thread Inline::C - object accessor failure

Wow, thanks! I've been looking at the 5.8.1 version of perlxs, which doesn't mention the automatic mortalization of RETVAL at all. It looks like that section was added in 5.8.4.

(Inline was written quite a while before this feature was documented, so maybe ingy didn't know about it and that's why the Inline::C documentation doesn't mention it?)

You'd think that not knowing about this would have caused me problems by now. The odd thing is, I've just looked over all my XS code and I don't seem to have run afoul of it anywhere. I suppose it helps that I usually use PPCODE instead of CODE.

  • Comment on Re^3: Inline::C - object accessor failure

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-03-24 06:00 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.