summaryrefslogtreecommitdiff
path: root/src/func.h
diff options
context:
space:
mode:
authorLua Team <team@lua.org>1995-11-28 12:00:00 +0000
committerrepogen <>1995-11-28 12:00:00 +0000
commit71754d2f6423fb9b6e87658e58bafc5470d53f65 (patch)
treec704e97b80e52a52d3152738941bb4c8ca676b97 /src/func.h
parenta8b6ba0954edb9e0e669e1f451b9a8f145ce5166 (diff)
downloadlua-github-2.2.tar.gz
Lua 2.22.2
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