Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Arrays and Inline C

by spivey49 (Monk)
on Aug 01, 2008 at 16:39 UTC ( #701742=note: print w/replies, xml ) Need Help??


in reply to Arrays and Inline C

Have a look at the Cookbook

Basically you pass and return the variable much like you would call any other function

use Inline C; $var = "something"; somefunc($var); __END__ __C__ somefunc(char* str){ . . return something; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2019-12-15 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?