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

Cookbook Chapter 2: Flexible Array Members (FAM) More...

#include <infix/infix.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for Ch02_FlexibleArrayMembers.c:

Classes

struct  DataSeries
 

Functions

double average_series (DataSeries *series)
 
int main ()
 

Detailed Description

Cookbook Chapter 2: Flexible Array Members (FAM)

This example demonstrates how to interface with C structs that use C99 Flexible Array Members (e.g., double values[] at the end of a struct).

Function Documentation

◆ average_series()

double average_series ( DataSeries series)

◆ main()

int main ( void  )