infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
cookbook Directory Reference
Directory dependency graph for cookbook:

Directories

 
libs

Files

 
Ch01_OpaquePointers.c
 Cookbook Chapter 2: Working with Bitfields.
 
Ch01_OutParameters.c
 Cookbook Chapter 1: Working with "Out" Parameters.
 
Ch01_Pointers.c
 Cookbook Chapter 1: Passing and Receiving Pointers.
 
Ch01_SimpleCall.c
 Cookbook Chapter 1: Calling a Simple C Function.
 
Ch02_AdvancedRegistry.c
 Cookbook Chapter 2: Advanced Named Types (Recursive & Forward-Declared).
 
Ch02_ArrayDecay.c
 Cookbook Chapter 2: Working with Fixed-Size Arrays.
 
Ch02_Bitfields.c
 Cookbook Chapter 2: Working with Structs that Contain Bitfields.
 
Ch02_ComplexNumbers.c
 Cookbook Chapter 2: Working with Complex Numbers.
 
Ch02_Enums.c
 Cookbook Chapter 2: Working with Enums.
 
Ch02_FlexibleArrayMembers.c
 Cookbook Chapter 2: Flexible Array Members (FAM).
 
Ch02_LargeStruct.c
 Cookbook Chapter 2: Large Structs Passed by Reference.
 
Ch02_PackedStructs.c
 Cookbook Chapter 2: Working with Packed Structs.
 
Ch02_ReturnStruct.c
 Cookbook Chapter 2: Receiving a Struct from a Function.
 
Ch02_SIMD_AVX.c
 Cookbook Chapter 2: Working with SIMD Vectors (x86-64).
 
Ch02_SIMD_NEON.c
 Cookbook Chapter 2: Working with SIMD Vectors (AArch64 NEON).
 
Ch02_SIMD_SVE.c
 Cookbook Chapter 2: Working with SIMD Vectors (AArch64 SVE).
 
Ch02_StructByValue.c
 Cookbook Chapter 2: Small Structs Passed by Value.
 
Ch02_Unions.c
 Cookbook Chapter 2: Working with Unions.
 
Ch03_QsortCallback.c
 Cookbook Chapter 3: Creating a Type-Safe Callback for qsort.
 
Ch03_StatefulCallback.c
 Cookbook Chapter 3: Creating a Stateful Callback.
 
Ch04_CallbackAsArg.c
 Cookbook Chapter 4: Receiving and Calling a Function Pointer.
 
Ch04_LongDouble.c
 Cookbook Chapter 4: Handling long double.
 
Ch04_Reentrancy.c
 Cookbook Chapter 4: Proving Reentrancy with Nested FFI Calls.
 
Ch04_ThreadSafety.c
 Cookbook Chapter 4: Proving Thread Safety.
 
Ch04_VariadicPrintf.c
 Cookbook Chapter 4: Calling Variadic Functions like printf.
 
Ch04_VTableCStyle.c
 Cookbook Chapter 4: Calling a Function Pointer from a Struct.
 
Ch05_CppMangledNames.c
 Cookbook Chapter 5: Calling C++ Mangled Names.
 
Ch05_CppTemplates.c
 Cookbook Chapter 5: Interfacing with C++ Templates.
 
Ch05_CppVirtualFunctions.c
 Cookbook Chapter 5: Calling C++ Virtual Functions.
 
Ch05_SemanticStrings.c
 Cookbook Chapter 5: Handling Strings and Semantic Types.
 
Ch06_GlobalVariables.c
 Cookbook Chapter 6: Reading and Writing Global Variables.
 
Ch06_LibraryDependencies.c
 Cookbook Chapter 6: Handling Library Dependencies.
 
Ch06_SystemLibraries.c
 Cookbook Chapter 6: Calling Native System Libraries.
 
Ch07_DynamicMarshalling.c
 Cookbook Chapter 7: Dynamic Struct Marshalling.
 
Ch07_DynamicSignatures.c
 Cookbook Chapter 7: Building a Signature String at Runtime.
 
Ch07_IntrospectWrapper.c
 Cookbook Chapter 7: Introspecting a Trampoline for a Wrapper.
 
Ch07_SemanticAliases.c
 
Ch08_ArenaCallFrame.c
 Cookbook Chapter 8: Building a Dynamic Call Frame with an Arena.
 
Ch08_CustomAllocators.c
 Cookbook Chapter 8: Using Custom Memory Allocators.
 
Ch08_ManualAPI.c
 Cookbook Chapter 8: The Full Manual API Lifecycle.
 
Ch08_SharedArena.c
 An example demonstrating the "shared arena" memory optimization.
 
Ch09_ErrorReporting.c
 Cookbook Chapter 9: Advanced Error Reporting for the Parser.
 
Ch09_SafeExceptions.c
 
Ch12_DirectMarshalling.c
 Cookbook Chapter 12: High-Performance Language Bindings.