|
infix
A JIT-Powered FFI Library for C
|
Cookbook Chapter 2: Working with Bitfields. More...
Functions | |
| int | main () |
Cookbook Chapter 2: Working with Bitfields.
This example shows how to interact with C libraries that use opaque pointers or "handles" (e.g., FILE*), where the internal structure is hidden. The canonical infix signature for any such handle is *void. This recipe also demonstrates using the Type Registry to create a readable alias for the handle type.
| int main | ( | void | ) |