summaryrefslogtreecommitdiff
path: root/src/func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/func.h')
-rw-r--r--src/func.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/func.h b/src/func.h
new file mode 100644
index 00000000..2723180f
--- /dev/null
+++ b/src/func.h
@@ -0,0 +1,24 @@
+#ifndef func_h
+#define func_h
+
+#include "types.h"
+#include "lua.h"
+
+/*
+** Header para funcoes.
+*/
+typedef struct TFunc
+{
+ struct TFunc *next;
+ char marked;
+ int size;
+ Byte *code;
+ int lineDefined;
+ char *fileName;
+} TFunc;
+
+Long luaI_funccollector (void);
+void luaI_insertfunction (TFunc *f);
+
+
+#endif