mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
171 lines
5.1 KiB
C
171 lines
5.1 KiB
C
|
/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */
|
||
|
|
||
|
#ifdef JCGO_SEPARATED
|
||
|
#define JCGO_116
|
||
|
#include "jcgortl.h"
|
||
|
#include "Main.h"
|
||
|
#endif
|
||
|
|
||
|
#ifdef JCGO_116
|
||
|
|
||
|
#ifdef CHKALL_java_util_Collections
|
||
|
#include "jcgobchk.h"
|
||
|
#endif
|
||
|
|
||
|
JCGO_NOSEP_INLINE java_util_Collections_SynchronizedIterator CFASTCALL
|
||
|
java_util_Collections_SynchronizedIterator__this__LoL23h9x( java_util_Collections_SynchronizedIterator
|
||
|
This, java_lang_Object sync, java_util_Iterator i )
|
||
|
{
|
||
|
{
|
||
|
;
|
||
|
JCGO_FIELD_NZACCESS(This, i)= i;
|
||
|
JCGO_FIELD_NZACCESS(This, mutex)= sync;
|
||
|
}
|
||
|
return This;
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_FRWINL java_util_Collections_SynchronizedIterator CFASTCALL
|
||
|
java_util_Collections_SynchronizedIterator__new__LoL23h9x( java_lang_Object
|
||
|
sync, java_util_Iterator i )
|
||
|
{
|
||
|
return java_util_Collections_SynchronizedIterator__this__LoL23h9x(
|
||
|
(java_util_Collections_SynchronizedIterator)jcgo_newObject((jvtable)&java_util_Collections_SynchronizedIterator_methods),
|
||
|
sync, i);
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE java_lang_Object CFASTCALL
|
||
|
java_util_Collections_SynchronizedIterator__next__( java_util_Collections_SynchronizedIterator
|
||
|
This )
|
||
|
{
|
||
|
{
|
||
|
{
|
||
|
JCGO_SYNC_BLOCK(JCGO_FIELD_NZACCESS(This, mutex))
|
||
|
{
|
||
|
jObject jcgo_rcvrL1;
|
||
|
{
|
||
|
java_lang_Object jcgo_retval= (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
|
||
|
i), JCGO_CALL_VFUNC((java_util_Iterator)jcgo_rcvrL1)->next__(
|
||
|
(java_util_Iterator)jcgo_rcvrL1));
|
||
|
#ifndef JCGO_SEHTRY
|
||
|
JCGO_SYNC_JUMPLEAVE(0);
|
||
|
#endif
|
||
|
return jcgo_retval;
|
||
|
}
|
||
|
}
|
||
|
JCGO_SYNC_ENDUNREACH
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE jboolean CFASTCALL
|
||
|
java_util_Collections_SynchronizedIterator__hasNext__( java_util_Collections_SynchronizedIterator
|
||
|
This )
|
||
|
{
|
||
|
{
|
||
|
{
|
||
|
JCGO_SYNC_BLOCK(JCGO_FIELD_NZACCESS(This, mutex))
|
||
|
{
|
||
|
jObject jcgo_rcvrL1;
|
||
|
{
|
||
|
jboolean jcgo_retval= (jboolean)(jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
|
||
|
i), JCGO_CALL_VFUNC((java_util_Iterator)jcgo_rcvrL1)->hasNext__(
|
||
|
(java_util_Iterator)jcgo_rcvrL1));
|
||
|
#ifndef JCGO_SEHTRY
|
||
|
JCGO_SYNC_JUMPLEAVE(0);
|
||
|
#endif
|
||
|
return jcgo_retval;
|
||
|
}
|
||
|
}
|
||
|
JCGO_SYNC_ENDUNREACH
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE void CFASTCALL
|
||
|
java_util_Collections_SynchronizedIterator__remove__( java_util_Collections_SynchronizedIterator
|
||
|
This )
|
||
|
{
|
||
|
{
|
||
|
{
|
||
|
JCGO_SYNC_BLOCK(JCGO_FIELD_NZACCESS(This, mutex))
|
||
|
{
|
||
|
jObject jcgo_rcvrL1;
|
||
|
(jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This, i), JCGO_CALL_VFUNC((java_util_Iterator)jcgo_rcvrL1)->remove__(
|
||
|
(java_util_Iterator)jcgo_rcvrL1));
|
||
|
}
|
||
|
JCGO_SYNC_END
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_DATA CONST struct java_util_Collections_SynchronizedIterator_methods_s
|
||
|
java_util_Collections_SynchronizedIterator_methods=
|
||
|
{
|
||
|
JCGO_CLASSREF_OF(java_util_Collections_SynchronizedIterator__class),
|
||
|
JCGO_GCJDESCR_ZEROINIT
|
||
|
OBJT_java_util_Collections_SynchronizedIterator,
|
||
|
(JCGO_OBJSIZE_T)sizeof(struct java_util_Collections_SynchronizedIterator_s),
|
||
|
NULL,
|
||
|
JCGO_CLINIT_INIT(0)
|
||
|
0,
|
||
|
java_lang_Object__equals__Lo,
|
||
|
java_lang_Object__hashCode__,
|
||
|
java_lang_Object__toString__,
|
||
|
java_lang_Object__finalize__,
|
||
|
java_util_Collections_SynchronizedIterator__hasNext__,
|
||
|
java_util_Collections_SynchronizedIterator__next__,
|
||
|
java_util_Collections_SynchronizedIterator__remove__
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_util_Collections_SynchronizedIterator_class_s
|
||
|
java_util_Collections_SynchronizedIterator__class JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
{
|
||
|
&java_lang_Class_methods,
|
||
|
JCGO_MON_INIT
|
||
|
JCGO_OBJREF_OF(*(java_lang_Object)&java_util_Collections_SynchronizedIterator_methods),
|
||
|
JCGO_STRREF_OF(jcgo_string1_SnchrnIt),
|
||
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
||
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array2_EntrItrt)),
|
||
|
0xa
|
||
|
}
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA CONST jcgo_arrtype621_Mdclnt jcgo_array2_SnchrnIt=
|
||
|
{
|
||
|
(jvtable)&jbyteArr_methods,
|
||
|
JCGO_MON_INIT
|
||
|
42,
|
||
|
{
|
||
|
(jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
|
||
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)117/*'u'*/,
|
||
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/,
|
||
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)67/*'C'*/, (jbyte)(jchar)111/*'o'*/,
|
||
|
(jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/,
|
||
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/,
|
||
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)115/*'s'*/,
|
||
|
(jbyte)(jchar)36/*'$'*/, (jbyte)(jchar)83/*'S'*/, (jbyte)(jchar)121/*'y'*/,
|
||
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)104/*'h'*/,
|
||
|
(jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/,
|
||
|
(jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)122/*'z'*/, (jbyte)(jchar)101/*'e'*/,
|
||
|
(jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)73/*'I'*/, (jbyte)(jchar)116/*'t'*/,
|
||
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)97/*'a'*/,
|
||
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/
|
||
|
}
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_SnchrnIt
|
||
|
JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
&java_lang_String_methods,
|
||
|
JCGO_MON_INIT
|
||
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_SnchrnIt),
|
||
|
0, 42, (jint)0x21837b31L
|
||
|
};
|
||
|
|
||
|
#ifdef CHKALL_java_util_Collections
|
||
|
#include "jcgochke.h"
|
||
|
#endif
|
||
|
|
||
|
#endif
|