sub cglobal

Documentation for sub cglobal assembled from the following types:

language documentation Native calling interface

From Native calling interface

(Native calling interface) sub cglobal

sub cglobal($libname$symbol$target-typeis export is rw

This returns a Proxy object that provides access to the extern named $symbol that is exposed by the specified library. The library can be specified in the same ways that they can be to the native trait.