Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Inline::C demonstration for C programmers

by sasdrtx (Friar)
on Sep 01, 2008 at 13:16 UTC ( [id://708207]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Inline::C demonstration for C programmers
in thread Inline::C demonstration for C programmers

Just to beat the last bit of life out of this horse: inflect() returns a pointer to one of the strings (alluded to by the others). Note the char* type. So, if those strings were automatics, then the GP post would have been quite correct. I.e. it would return a pointer to freed stack space.

sas
  • Comment on Re^3: Inline::C demonstration for C programmers

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-16 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found