Initial revision
[cacao.git] / native.h
1 /****************************** native.h ***************************************
2
3         Copyright (c) 1997 A. Krall, R. Grafl, M. Gschwind, M. Probst
4
5         See file COPYRIGHT for information on usage and disclaimer of warranties
6
7         Contains the codegenerator for an Alpha processor.
8         This module generates Alpha machine code for a sequence of
9         pseudo commands (PCMDs).
10
11         Authors: Reinhard Grafl      EMAIL: cacao@complang.tuwien.ac.at
12
13         Last Change: 1997/03/12
14
15 *******************************************************************************/
16
17
18 extern java_objectheader* exceptionptr;
19
20 void native_loadclasses ();
21 void native_setclasspath (char *path);
22
23 functionptr native_findfunction (unicode *cname, unicode *mname, 
24                                  unicode *desc, bool isstatic);
25
26 java_objectheader *javastring_new (unicode *text);
27 java_objectheader *javastring_new_char (char *text);
28 char *javastring_tochar (java_objectheader *s);
29
30 java_objectheader *native_new_and_init (classinfo *c);
31
32 java_objectheader *literalstring_new (unicode *text);
33 void literalstring_free (java_objectheader*);
34
35 void attach_property(char *name, char *value);