diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-22 06:47:48 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-22 06:47:48 +0000 |
commit | 98cf095aceed6a89d0524b8cfbcb11a5ee823c70 (patch) | |
tree | ecfc0fb5d915f5f6596ef061114d1b6b7ec5270a /libjava/gcj/javaprims.h | |
parent | 4737d8efd8bdfccb3d0d41413aaf3933f25780ce (diff) | |
download | gcc-98cf095aceed6a89d0524b8cfbcb11a5ee823c70.tar.gz |
Implement invocation interface; don't create new thread for main.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gcj/javaprims.h')
-rw-r--r-- | libjava/gcj/javaprims.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index 21419c196ec..71558daee27 100644 --- a/libjava/gcj/javaprims.h +++ b/libjava/gcj/javaprims.h @@ -380,6 +380,11 @@ extern "C" jstring _Jv_NewStringLatin1(const char*, jsize) extern "C" jsize _Jv_GetStringUTFLength (jstring); extern "C" jsize _Jv_GetStringUTFRegion (jstring, jsize, jsize, char *); +extern jint _Jv_CreateJavaVM (void* /*vm_args*/); +extern "C" java::lang::Thread* +_Jv_AttachCurrentThread(jstring name, java::lang::ThreadGroup* group); +extern "C" jint _Jv_DetachCurrentThread (void); + extern "C" void _Jv_Throw (jthrowable) __attribute__ ((__noreturn__)); extern "C" void* _Jv_Malloc (jsize) __attribute__((__malloc__)); extern "C" void* _Jv_Realloc (void *, jsize); |