cglobal
cglobal((symbol, library) [, type=Void])
Obtain a pointer to a global variable in a C-exported shared library, specified exactly as in ccall
. Returns a Ptr{Type}
, defaulting to Ptr{Void}
if no Type argument is supplied. The values can be read or written by unsafe_load
or unsafe_store!
, respectively.
Examples
See Also
User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.