This commit is contained in:
Paul 2000-12-14 22:32:17 +00:00
parent ffca3d15d5
commit 48629e2f3d
2 changed files with 211 additions and 0 deletions

65
Utils/Scripter/function.h Normal file
View file

@ -0,0 +1,65 @@
/*=========================================================================
function.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __FUNCTION_H__
#define __FUNCTION_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __CODEGEN_H__
#include "codegen.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
struct FunctionDef
{
int m_functionNumber;
char *m_name;
int m_argCount;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
extern FunctionDef *lookupFunctionName(char *_name);
extern int getFunctionArgCount(int _functionNumber);
extern CTreeNode *getFunctionArgs(int _argCount);
/*---------------------------------------------------------------------- */
#endif /* __FUNCTION_H__ */
/*===========================================================================
end */