From c504322b86efd4487fe39c5a5b95f4789b33727b Mon Sep 17 00:00:00 2001 From: twisti Date: Sun, 7 Mar 2004 22:16:31 +0000 Subject: [PATCH] native_new_and_init_int was not defined --- native.h | 11 ++++++----- src/native/native.h | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/native.h b/native.h index 518a0f33f..7dd3c325d 100644 --- a/native.h +++ b/native.h @@ -26,7 +26,7 @@ Authors: Reinhard Grafl - $Id: native.h 934 2004-03-05 23:20:53Z twisti $ + $Id: native.h 949 2004-03-07 22:16:31Z twisti $ */ @@ -136,11 +136,12 @@ char *javastring_tochar(java_objectheader *s); /* 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 - mainly used for exceptions with a message -*/ +/* create new object on the heap and call the initializer + mainly used for exceptions with a message */ java_objectheader *native_new_and_init_string(classinfo *c, java_lang_String *s); +/* create new object on the heap and call the initializer + mainly used for exceptions with an index */ +java_objectheader *native_new_and_init_int(classinfo *c, s4 i); /* add property to system-property vector */ void attach_property(char *name, char *value); diff --git a/src/native/native.h b/src/native/native.h index 518a0f33f..7dd3c325d 100644 --- a/src/native/native.h +++ b/src/native/native.h @@ -26,7 +26,7 @@ Authors: Reinhard Grafl - $Id: native.h 934 2004-03-05 23:20:53Z twisti $ + $Id: native.h 949 2004-03-07 22:16:31Z twisti $ */ @@ -136,11 +136,12 @@ char *javastring_tochar(java_objectheader *s); /* 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 - mainly used for exceptions with a message -*/ +/* create new object on the heap and call the initializer + mainly used for exceptions with a message */ java_objectheader *native_new_and_init_string(classinfo *c, java_lang_String *s); +/* create new object on the heap and call the initializer + mainly used for exceptions with an index */ +java_objectheader *native_new_and_init_int(classinfo *c, s4 i); /* add property to system-property vector */ void attach_property(char *name, char *value); -- 2.25.1