infix
A JIT-Powered FFI Library for C
|
End-to-end integration tests for the entire FFI call process. More...
Macros | |
#define | DBLTAP_IMPLEMENTATION |
Functions | |
Point | move_point (Point p, double dx, double dy) |
A simple function that takes and returns a small struct by value. | |
Point | point_callback_handler (Point p) |
A callback handler that receives a Point, modifies it, and returns it. | |
void | execute_point_callback (Point(*func_ptr)(Point), Point p) |
A harness function that simulates native C code calling our generated callback. | |
subtest ("Forward calls with aggregate types (structs)") | |
subtest ("Reverse calls (callbacks) with aggregate types") | |
Variables | |
TEST | |
End-to-end integration tests for the entire FFI call process.
This is the first test suite to verify the entire pipeline: Signature Parser -> Type System -> ABI Classifier -> JIT Generator -> Call Execution. It focuses on aggregate types (structs, unions) which have the most complex ABI rules.
#define DBLTAP_IMPLEMENTATION |
A harness function that simulates native C code calling our generated callback.
A simple function that takes and returns a small struct by value.
A callback handler that receives a Point, modifies it, and returns it.
subtest | ( | "Forward calls with aggregate types (structs)" | ) |
subtest | ( | "Reverse calls (callbacks) with aggregate types" | ) |