first commit of the recode
70% of the code was re-writter from scratch
This commit is contained in:
11
tests/lib_use.c
Normal file
11
tests/lib_use.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "../include/pasm.h"
|
||||
|
||||
int main(void) {
|
||||
char output[1024] = {0};
|
||||
FILE *memfile = fmemopen(output, sizeof(output), "w");
|
||||
|
||||
pasm_run_script("../examples/test.pasm", 0, 0, memfile);
|
||||
fclose(memfile);
|
||||
printf("%s", output);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user