Add functions and int vars

This commit is contained in:
Such Meme, Many Skill committed 2020-03-31 14:24:34 +02:00
1 parent 33a64abfb0
commit 38f349618f
8 files changed
+250 -10

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include "../../utils/types.h"
typedef void (*func_void_ptr)();
typedef int (*func_int_ptr)();
typedef struct {
char *key;
func_int_ptr value;
u8 arg_count;
} str_fnc_struct;
int run_function(char *func_name, int *out);