3 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 Institut f. Computersprachen, TU Wien
5 R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
6 S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
9 This file is part of CACAO.
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2, or (at
14 your option) any later version.
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26 Contact: cacao@complang.tuwien.ac.at
28 Authors: Carolyn Oates
30 $Id: natcalls.h 662 2003-11-21 18:06:25Z jowenn $
41 /*---------- Define Constants ---------------------------*/
45 /*---------- global variables ---------------------------*/
46 typedef struct classMeth classMeth;
47 typedef struct nativeCall nativeCall;
48 typedef struct methodCall methodCall;
49 typedef struct nativeMethod nativeMethod;
51 typedef struct nativeCompCall nativeCompCall;
52 typedef struct methodCompCall methodCompCall;
53 typedef struct nativeCompMethod nativeCompMethod;
72 struct methodCall methodCalls[MAXCALLS];
76 static struct nativeCall {
78 struct nativeMethod methods[MAXCALLS];
80 int callCnt[MAXCALLS];
83 #include "nativecalls.h"
86 #define NATIVECALLSSIZE (sizeof(nativeCalls)/sizeof(struct nativeCall))
89 struct methodCompCall {
96 struct nativeCompMethod {
99 struct methodCompCall methodCalls[MAXCALLS];
103 struct nativeCompCall {
105 struct nativeCompMethod methods[MAXCALLS];
107 int callCnt[MAXCALLS];
108 } nativeCompCalls[NATIVECALLSSIZE];
111 bool natcall2utf(bool);
112 void printNativeCall(nativeCall);
113 void markNativeMethodsRT(utf *, utf* , utf* );
115 #endif /* _NATCALLS_H */
119 * These are local overrides for various environment variables in Emacs.
120 * Please do not remove this and leave it at the end of the file, where
121 * Emacs will automagically detect them.
122 * ---------------------------------------------------------------------
125 * indent-tabs-mode: t