#include "picoc.h" void PlatformLibraryInit() { } void Ctest (struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) { printf("test(%d)\n", Param[0]->Val->Integer); Param[0]->Val->Integer = 1234; } /* list of all library functions and their prototypes */ struct LibraryFunction PlatformLibrary[] = { { Ctest, "void test(int)" }, { NULL, NULL } };