mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
118 lines
3.3 KiB
C
118 lines
3.3 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_Buffer
|
|
#include "jcgobchk.h"
|
|
#endif
|
|
|
|
JCGO_NOSEP_STATIC package_Buffer CFASTCALL
|
|
package_Buffer__this__BA( package_Buffer This, jbyteArr buff )
|
|
{
|
|
{
|
|
;
|
|
JCGO_FIELD_NZACCESS(This, buffer)= buff;
|
|
JCGO_FIELD_NZACCESS(This, offset)= 0;
|
|
}
|
|
return This;
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE package_Buffer CFASTCALL
|
|
package_Buffer__new__BA( jbyteArr buff )
|
|
{
|
|
return package_Buffer__this__BA(
|
|
(package_Buffer)jcgo_newObject((jvtable)&package_Buffer_methods),
|
|
buff);
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE jint CFASTCALL
|
|
package_Buffer__getUnsignedByte__( package_Buffer This )
|
|
{
|
|
{
|
|
jObject jcgo_rcvrL1;
|
|
return (jint)((unsigned char)(jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_ARRAY_BACCESS((jbyteArr)jcgo_rcvrL1, JCGO_FIELD_NZACCESS(This,
|
|
offset)++)));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE jint CFASTCALL
|
|
package_Buffer__getUnsignedShort__( package_Buffer This )
|
|
{
|
|
{
|
|
jint jcgo_rcvrI1;
|
|
JCGO_FIELD_NZACCESS(This, offset)+= (jint)2;
|
|
return (jcgo_rcvrI1= JCGO_SHL_F(((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_FIELD_NZACCESS(This, offset) - (jint)2)))), (jint)8),
|
|
jcgo_rcvrI1 + ((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_FIELD_NZACCESS(This, offset) - (jint)1)))));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC jint CFASTCALL
|
|
package_Buffer__getUnsignedInt__( package_Buffer This )
|
|
{
|
|
{
|
|
jint jcgo_rcvrI1;
|
|
JCGO_FIELD_NZACCESS(This, offset)+= (jint)4;
|
|
return (jcgo_rcvrI1= (jcgo_rcvrI1= (jcgo_rcvrI1= JCGO_SHL_F(((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_FIELD_NZACCESS(This, offset) - (jint)4)))), (jint)24),
|
|
jcgo_rcvrI1 + JCGO_SHL_F(((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_FIELD_NZACCESS(This, offset) - (jint)3)))), (jint)16)),
|
|
jcgo_rcvrI1 + JCGO_SHL_F(((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_FIELD_NZACCESS(This, offset) - (jint)2)))), (jint)8)),
|
|
jcgo_rcvrI1 + ((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
|
|
buffer), JCGO_FIELD_NZACCESS(This, offset) - (jint)1)))));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_DATA CONST struct package_Buffer_methods_s package_Buffer_methods=
|
|
{
|
|
JCGO_CLASSREF_OF(package_Buffer__class),
|
|
JCGO_GCJDESCR_INIT(package_Buffer_s, buffer)
|
|
OBJT_package_Buffer,
|
|
(JCGO_OBJSIZE_T)sizeof(struct package_Buffer_s),
|
|
NULL,
|
|
JCGO_CLINIT_INIT(0)
|
|
0,
|
|
java_lang_Object__equals__Lo,
|
|
java_lang_Object__hashCode__,
|
|
java_lang_Object__toString__,
|
|
java_lang_Object__finalize__
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct package_Buffer_class_s package_Buffer__class
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
{
|
|
&java_lang_Class_methods,
|
|
JCGO_MON_INIT
|
|
JCGO_OBJREF_OF(*(java_lang_Object)&package_Buffer_methods),
|
|
JCGO_STRREF_OF(jcgo_string1_Buffer96),
|
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
|
|
0x1
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_Buffer96
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_BffrInSt),
|
|
8, 6, (jint)0x77408060L
|
|
};
|
|
|
|
#ifdef CHKALL_Buffer
|
|
#include "jcgochke.h"
|
|
#endif
|
|
|
|
#endif
|