projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/vm/vm.c (usage): Small change.
[cacao.git]
/
src
/
native
/
native.h
diff --git
a/src/native/native.h
b/src/native/native.h
index 528db6a8455038595f8cedc54b7d6b707e2554a9..3df0504f9e42249fc64454d68c6046c0c6187ec1 100644
(file)
--- a/
src/native/native.h
+++ b/
src/native/native.h
@@
-28,7
+28,7
@@
Changes: Christian Thalinger
Changes: Christian Thalinger
- $Id: native.h 4
357 2006-01-22 23:33:38
Z twisti $
+ $Id: native.h 4
530 2006-02-21 09:11:53
Z twisti $
*/
*/
@@
-38,7
+38,7
@@
#include "config.h"
#include "config.h"
-#if !defined(
ENABLE_STATICVM
)
+#if !defined(
WITH_STATIC_CLASSPATH
)
# include <ltdl.h>
#endif
# include <ltdl.h>
#endif
@@
-58,7
+58,7
@@
typedef struct nativeref nativeref;
typedef struct nativecompref nativecompref;
typedef struct nativecompref nativecompref;
-#if !defined(
ENABLE_STATICVM
)
+#if !defined(
WITH_STATIC_CLASSPATH
)
typedef struct hashtable_library_loader_entry hashtable_library_loader_entry;
typedef struct hashtable_library_name_entry hashtable_library_name_entry;
typedef struct hashtable_library_loader_entry hashtable_library_loader_entry;
typedef struct hashtable_library_name_entry hashtable_library_name_entry;
@@
-104,13
+104,13
@@
struct nativecompref {
/* initialize native subsystem */
bool native_init(void);
/* initialize native subsystem */
bool native_init(void);
-#if defined(
ENABLE_STATICVM
)
+#if defined(
WITH_STATIC_CLASSPATH
)
/* find native function */
functionptr native_findfunction(utf *cname, utf *mname, utf *desc,
bool isstatic);
/* find native function */
functionptr native_findfunction(utf *cname, utf *mname, utf *desc,
bool isstatic);
-#else /* defined(
ENABLE_STATICVM
) */
+#else /* defined(
WITH_STATIC_CLASSPATH
) */
/* add a library to the library hash */
void native_hashtable_library_add(utf *filename, java_objectheader *loader,
/* add a library to the library hash */
void native_hashtable_library_add(utf *filename, java_objectheader *loader,
@@
-123,7
+123,7
@@
hashtable_library_name_entry *native_hashtable_library_find(utf *filename,
/* resolve native function */
functionptr native_resolve_function(methodinfo *m);
/* resolve native function */
functionptr native_resolve_function(methodinfo *m);
-#endif /* defined(
ENABLE_STATICVM
) */
+#endif /* defined(
WITH_STATIC_CLASSPATH
) */
/* create new object on the heap and call the initializer */
java_objectheader *native_new_and_init(classinfo *c);
/* create new object on the heap and call the initializer */
java_objectheader *native_new_and_init(classinfo *c);