summaryrefslogtreecommitdiff
path: root/includes/compiler/CTemplateNew.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--includes/compiler/CTemplateNew.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/includes/compiler/CTemplateNew.h b/includes/compiler/CTemplateNew.h
index 3fbdeb9..ca92500 100644
--- a/includes/compiler/CTemplateNew.h
+++ b/includes/compiler/CTemplateNew.h
@@ -3,4 +3,21 @@
#include "compiler/common.h"
+extern TemplClass *ctempl_templates;
+extern TemplateFunction *ctempl_templatefuncs;
+extern TemplStack *ctempl_curinstance;
+
+extern void CTempl_Setup(void);
+extern void CTempl_Cleanup(void);
+extern TemplArg *CTempl_ParseUncheckTemplArgs(TemplParam *params, Boolean is_global);
+extern Type *CTempl_ParseTemplTemplParam(TypeTemplDep *type);
+extern Type *CTempl_ClassGetType(TemplClass *templ);
+extern Boolean CTempl_IsQualifiedMember(DeclInfo *di, Type *type, NameSpace **resultnspace);
+extern void CTempl_Parse(TemplClass *templ, AccessType access);
+extern void CTempl_ParseInstanceScopeFunction(Object *funcobj, TemplClassInst *inst, TypeClass *tclass);
+extern Boolean CTempl_GenFuncInstance(TemplateFunction *templ, TemplFuncInstance *inst, Boolean flag);
+extern void CTempl_InstantiateMember(TemplClass *templ, TemplClassInst *inst, TemplateMember *tmemb, Object *object, Boolean flag);
+extern Boolean CTempl_Instantiate(void);
+extern Boolean CTempl_InlineFunctionCheck(Object *funcobj);
+
#endif