summaryrefslogtreecommitdiff
path: root/includes/compiler/CFunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/compiler/CFunc.h')
-rw-r--r--includes/compiler/CFunc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/compiler/CFunc.h b/includes/compiler/CFunc.h
index a0fadad..bed511f 100644
--- a/includes/compiler/CFunc.h
+++ b/includes/compiler/CFunc.h
@@ -48,6 +48,7 @@ typedef enum StatementType {
enum {
StmtFlag_1 = 1,
+ StmtFlag_2 = 2,
StmtFlag_8 = 8,
StmtFlag_10 = 0x10
};
@@ -139,7 +140,7 @@ extern void CFunc_DestructorCleanup(Statement *stmt);
extern Statement *CFunc_GenerateLoop(Statement *stmt, Type *type, ENode *expr1, ENode *expr2, ENode *expr3, ENode *expr4, ENode (*callback)(ENode *, ENode *));
extern void CFunc_CompoundStatement(DeclThing *thing);
extern void CFunc_SetupNewFuncArgs(Object *obj, FuncArg *args);
-extern NameSpace *CFunc_FuncGenSetup(Statement *stmt);
+extern NameSpace *CFunc_FuncGenSetup(Statement *stmt, Object *func);
extern void CFunc_GetGlobalCompilerState(CFuncSave *state);
extern void CFunc_SetGlobalCompilerState(CFuncSave *state);
extern void CFunc_Gen(Statement *stmt, Object *obj, UInt8 unk);