infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
Ch01_OpaquePointers.c File Reference

Cookbook Chapter 2: Working with Bitfields. More...

#include <infix/infix.h>
#include <stdio.h>
Include dependency graph for Ch01_OpaquePointers.c:

Functions

int main ()
 

Detailed Description

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.

Function Documentation

◆ main()

int main ( void  )