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

Cookbook Chapter 6: Handling Library Dependencies. More...

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

Functions

int main ()
 

Variables

const char * LIB_A_NAME = "./libA.so"
 

Detailed Description

Cookbook Chapter 6: Handling Library Dependencies.

This example demonstrates that infix does not require any special handling when loading a shared library that itself depends on other shared libraries. The operating system's dynamic linker automatically handles loading and linking all necessary dependencies.

This example loads libA, which internally calls a function from libB.

Function Documentation

◆ main()

int main ( void  )

Variable Documentation

◆ LIB_A_NAME

const char* LIB_A_NAME = "./libA.so"