Mercurial > ~dholland > hg > ag > index.cgi
diff anagram/ag1/aglib.h @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/anagram/ag1/aglib.h Sat Dec 22 17:52:45 2007 -0500 @@ -0,0 +1,28 @@ +/* + * AnaGram, A System for Syntax Directed Programming + * Copyright 2006 David A. Holland. All Rights Reserved. + * See the file COPYING for license and usage terms. + * + * aglib.h + */ + +#ifndef AGLIB_H +#define AGLIB_H + +#ifdef AG_ON_WINDOWS +#ifdef AG_EXE +#define AGLIBENTRY _Import +#else +#define AGLIBENTRY _Export +#endif +#endif + +#ifdef AG_ON_UNIX +#define AGLIBENTRY +#endif + +void AGLIBENTRY init(char *argv_0); +int AGLIBENTRY commandLineBuild(char *file); +void AGLIBENTRY agGui(char *file); + +#endif /* AGLIB_H */