Files
MEhrn00-boflink/examples/custom-api/custom-api.c
T
Matt Ehrnschwender 21dcffbefd Initial release
2025-05-30 15:57:20 -04:00

14 lines
241 B
C

#include "myapi.h"
void go(void) {
int version = MyApiVersion();
MyApiPrintf("MyApiVersion: %d", version);
int *value = MyApiAlloc(sizeof(int));
*value = 123;
MyApiPrintf("value: %d", *value);
MyApiFree(value);
}