|
infix
A JIT-Powered FFI Library for C
|
Cookbook Chapter 1: Working with "Out" Parameters. More...
Functions | |
| static bool | get_user_stats (int user_id, int *out_posts, double *out_score) |
| int | main () |
Cookbook Chapter 1: Working with "Out" Parameters.
This example demonstrates a very common C pattern where a function returns its primary output via a pointer argument (an "out" parameter) rather than its direct return value. The signature simply represents this as a pointer type (e.g., *int).
|
static |
| int main | ( | void | ) |