#include <stdio.h>
#include <stdlib.h>
#include <veda.h>
#define VEDA(err) check(err, __FILE__, __LINE__)
void check(VEDAresult err, const char* file, const int line) {
if(err != VEDA_SUCCESS) {
const char *name, *str;
printf("%s: %s @ %s:%i\n", name, str, file, line);
exit(1);
}
}
int main(int argc, char** argv) {
printf("Hello World from Host!\n");
VEDAcontext ctx;
VEDAmodule mod;
VEDAfunction func;
VEDAargs args;
size_t x = 42;
size_t y = 1;
printf("SUB1 return %lu\n",y);
return 0;
}