projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1998-08-14 12:07:18 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
parser
/
utils.h
diff --git
a/ghc/compiler/parser/utils.h
b/ghc/compiler/parser/utils.h
index
95389ec
..
8124440
100644
(file)
--- a/
ghc/compiler/parser/utils.h
+++ b/
ghc/compiler/parser/utils.h
@@
-114,6
+114,15
@@
void precparse PROTO((tree));
void checkprec PROTO((tree, qid, BOOLEAN));
*/
void checkprec PROTO((tree, qid, BOOLEAN));
*/
+/* FFI predefines */
+#define CALLCONV_STDCALL 0
+#define CALLCONV_CCALL 1
+#define CALLCONV_PASCAL 2
+#define CALLCONV_FASTCALL 3
+
+#define FOREIGN_IMPORT 0
+#define FOREIGN_EXPORT 1
+
BOOLEAN isconstr PROTO((char *));
void setstartlineno PROTO((void));
BOOLEAN isconstr PROTO((char *));
void setstartlineno PROTO((void));