New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document constant interface + more bundle interface nits #169
Conversation
init example as rendered in full: Initialization exampleThe bundle interface also gives you entry points which will be called automatically
Here is an example that passes the version and a callback back into Perl
The deinitialization order for the
First we deallocate If |
The constant documentation rendered in full: NAMEFFI::Platypus::Constant - Define constants in C space for Perl VERSIONversion 0.95_07 SYNOPSIS
DESCRIPTIONThe Platypus bundle interface (see FFI::Platypus::Bundle) has an entry point
The first argument
ExampleSuppose you have a header file
You can define these constants from C:
Your Perl code doesn't have to do anything when calling bundle:
|
TODO:
FFI::Platypus::Constant