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

Cookbook Chapter 1: Calling a Simple C Function. More...

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

Functions

int main ()
 

Detailed Description

Cookbook Chapter 1: Calling a Simple C Function.

This example demonstrates the most fundamental use of infix: calling a standard C library function (atan2) that takes two double arguments and returns a double. It uses an "unbound" trampoline, which is flexible and can be used to call any function matching the specified signature.

Function Documentation

◆ main()

int main ( void  )