2000-12-11 20:43:04 +01:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
prepro.h
|
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PREPRO_H__
|
|
|
|
#define __PREPRO_H__
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Includes
|
|
|
|
-------- */
|
|
|
|
|
|
|
|
/* Std Lib
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Tyepdefs && Defines
|
|
|
|
------------------- */
|
|
|
|
|
2000-12-12 21:51:59 +01:00
|
|
|
// lookupMacro results
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
UNKNOWN_MACRO,
|
|
|
|
POSSIBLE_KNOWN_MACRO,
|
|
|
|
KNOWN_MACRO,
|
|
|
|
};
|
|
|
|
|
2000-12-11 20:43:04 +01:00
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Structure defintions
|
|
|
|
-------------------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
extern int preprocessorCmd(char *_cmd);
|
|
|
|
|
2000-12-12 21:51:59 +01:00
|
|
|
extern char *lookupMacro(char *_name,int *_result);
|
2000-12-11 21:28:41 +01:00
|
|
|
|
2000-12-11 20:43:04 +01:00
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __PREPRO_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|