summaryrefslogtreecommitdiff
path: root/src/nb_preproc.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-17 15:22:09 +0800
committerchai <chaifix@163.com>2020-10-17 15:22:09 +0800
commit08ab881a480a73d6be005c4b4e1cf35814b53e3c (patch)
tree00297c01905cff519509598c5340a82c0fc2e941 /src/nb_preproc.h
Diffstat (limited to 'src/nb_preproc.h')
-rw-r--r--src/nb_preproc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nb_preproc.h b/src/nb_preproc.h
new file mode 100644
index 0000000..24aa12a
--- /dev/null
+++ b/src/nb_preproc.h
@@ -0,0 +1,16 @@
+#ifndef NB_PREPROC_H
+#define NB_PREPROC_H
+
+#include "nb_vm.h"
+
+/*
+* Ô¤´¦Àí
+* #define
+* #undef
+* #if
+*/
+void nb_set_macros(NbVM* vm, const char* macros[], int count);
+
+void nb_preprocess(NbVM* vm);
+
+#endif \ No newline at end of file