b23d1e8e06
Also moved most internal header stuff to the new header interpreter.h. git-svn-id: http://picoc.googlecode.com/svn/trunk@549 21eae674-98b7-11dd-bd71-f92a316d2d60
35 lines
784 B
C
35 lines
784 B
C
#ifndef PICOC_H
|
|
#define PICOC_H
|
|
|
|
/* picoc version number */
|
|
#ifdef VER
|
|
#define PICOC_VERSION "v2.1 beta r" VER /* VER is the subversion version number, obtained via the Makefile */
|
|
#else
|
|
#define PICOC_VERSION "v2.1 beta"
|
|
#endif
|
|
|
|
/* handy definitions */
|
|
#ifndef TRUE
|
|
#define TRUE 1
|
|
#define FALSE 0
|
|
#endif
|
|
|
|
|
|
/* parse.c */
|
|
void PicocParse(const char *FileName, const char *Source, int SourceLen, int RunIt, int CleanupNow, int CleanupSource);
|
|
void PicocParseInteractive();
|
|
|
|
/* platform.c */
|
|
void PicocCallMain(int argc, char **argv);
|
|
int PicocPlatformSetExitPoint();
|
|
void PicocInitialise(int StackSize);
|
|
void PicocCleanup();
|
|
void PicocPlatformScanFile(const char *FileName);
|
|
|
|
extern int PicocExitValue;
|
|
|
|
/* include.c */
|
|
void PicocIncludeAllSystemHeaders();
|
|
|
|
#endif /* PICOC_H */
|