emscripten/tests/nbody-java/java_nio_ReadWriteHeapByteB...

146 строки
7.3 KiB
C

#ifndef __JAVA_NIO_READWRITEHEAPBYTEBUFFER__
#define __JAVA_NIO_READWRITEHEAPBYTEBUFFER__
#include "xmlvm.h"
// Preprocessor constants for interfaces:
#define XMLVM_ITABLE_SIZE_java_nio_ReadWriteHeapByteBuffer 8
// Implemented interfaces:
// Super Class:
#include "java_nio_HeapByteBuffer.h"
// Circular references:
#ifndef XMLVM_FORWARD_DECL_java_lang_Double
#define XMLVM_FORWARD_DECL_java_lang_Double
XMLVM_FORWARD_DECL(java_lang_Double)
#endif
#ifndef XMLVM_FORWARD_DECL_java_lang_Float
#define XMLVM_FORWARD_DECL_java_lang_Float
XMLVM_FORWARD_DECL(java_lang_Float)
#endif
#ifndef XMLVM_FORWARD_DECL_java_lang_IndexOutOfBoundsException
#define XMLVM_FORWARD_DECL_java_lang_IndexOutOfBoundsException
XMLVM_FORWARD_DECL(java_lang_IndexOutOfBoundsException)
#endif
#ifndef XMLVM_FORWARD_DECL_java_lang_Object
#define XMLVM_FORWARD_DECL_java_lang_Object
XMLVM_FORWARD_DECL(java_lang_Object)
#endif
#ifndef XMLVM_FORWARD_DECL_java_lang_System
#define XMLVM_FORWARD_DECL_java_lang_System
XMLVM_FORWARD_DECL(java_lang_System)
#endif
#ifndef XMLVM_FORWARD_DECL_java_nio_ByteBuffer
#define XMLVM_FORWARD_DECL_java_nio_ByteBuffer
XMLVM_FORWARD_DECL(java_nio_ByteBuffer)
#endif
#ifndef XMLVM_FORWARD_DECL_org_apache_harmony_luni_platform_Endianness
#define XMLVM_FORWARD_DECL_org_apache_harmony_luni_platform_Endianness
XMLVM_FORWARD_DECL(org_apache_harmony_luni_platform_Endianness)
#endif
// Class declarations for java.nio.ReadWriteHeapByteBuffer
XMLVM_DEFINE_CLASS(java_nio_ReadWriteHeapByteBuffer, 55, XMLVM_ITABLE_SIZE_java_nio_ReadWriteHeapByteBuffer)
extern JAVA_OBJECT __CLASS_java_nio_ReadWriteHeapByteBuffer;
extern JAVA_OBJECT __CLASS_java_nio_ReadWriteHeapByteBuffer_1ARRAY;
extern JAVA_OBJECT __CLASS_java_nio_ReadWriteHeapByteBuffer_2ARRAY;
extern JAVA_OBJECT __CLASS_java_nio_ReadWriteHeapByteBuffer_3ARRAY;
//XMLVM_BEGIN_DECLARATIONS
#define __ADDITIONAL_INSTANCE_FIELDS_java_nio_ReadWriteHeapByteBuffer
//XMLVM_END_DECLARATIONS
#define __INSTANCE_FIELDS_java_nio_ReadWriteHeapByteBuffer \
__INSTANCE_FIELDS_java_nio_HeapByteBuffer; \
struct { \
__ADDITIONAL_INSTANCE_FIELDS_java_nio_ReadWriteHeapByteBuffer \
} java_nio_ReadWriteHeapByteBuffer
struct java_nio_ReadWriteHeapByteBuffer {
__TIB_DEFINITION_java_nio_ReadWriteHeapByteBuffer* tib;
struct {
__INSTANCE_FIELDS_java_nio_ReadWriteHeapByteBuffer;
} fields;
};
#ifndef XMLVM_FORWARD_DECL_java_nio_ReadWriteHeapByteBuffer
#define XMLVM_FORWARD_DECL_java_nio_ReadWriteHeapByteBuffer
typedef struct java_nio_ReadWriteHeapByteBuffer java_nio_ReadWriteHeapByteBuffer;
#endif
#define XMLVM_VTABLE_SIZE_java_nio_ReadWriteHeapByteBuffer 55
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_asReadOnlyBuffer__ 16
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_compact__ 18
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_duplicate__ 20
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_isReadOnly__ 10
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_protectedArray__ 37
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_protectedArrayOffset__ 36
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_protectedHasArray__ 38
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_put___byte 51
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_put___int_byte 53
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_put___byte_1ARRAY_int_int 52
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putDouble___double 41
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putDouble___int_double 42
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putFloat___float 43
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putFloat___int_float 44
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putInt___int 45
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putInt___int_int 46
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putLong___int_long 47
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putLong___long 48
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putShort___int_short 49
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_putShort___short 50
#define XMLVM_VTABLE_IDX_java_nio_ReadWriteHeapByteBuffer_slice__ 54
void __INIT_java_nio_ReadWriteHeapByteBuffer();
void __INIT_IMPL_java_nio_ReadWriteHeapByteBuffer();
void __DELETE_java_nio_ReadWriteHeapByteBuffer(void* me, void* client_data);
void __INIT_INSTANCE_MEMBERS_java_nio_ReadWriteHeapByteBuffer(JAVA_OBJECT me, int derivedClassWillRegisterFinalizer);
JAVA_OBJECT __NEW_java_nio_ReadWriteHeapByteBuffer();
JAVA_OBJECT __NEW_INSTANCE_java_nio_ReadWriteHeapByteBuffer();
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_copy___java_nio_HeapByteBuffer_int(JAVA_OBJECT n1, JAVA_INT n2);
void java_nio_ReadWriteHeapByteBuffer___INIT____byte_1ARRAY(JAVA_OBJECT me, JAVA_OBJECT n1);
void java_nio_ReadWriteHeapByteBuffer___INIT____int(JAVA_OBJECT me, JAVA_INT n1);
void java_nio_ReadWriteHeapByteBuffer___INIT____byte_1ARRAY_int_int(JAVA_OBJECT me, JAVA_OBJECT n1, JAVA_INT n2, JAVA_INT n3);
// Vtable index: 16
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_asReadOnlyBuffer__(JAVA_OBJECT me);
// Vtable index: 18
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_compact__(JAVA_OBJECT me);
// Vtable index: 20
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_duplicate__(JAVA_OBJECT me);
// Vtable index: 10
JAVA_BOOLEAN java_nio_ReadWriteHeapByteBuffer_isReadOnly__(JAVA_OBJECT me);
// Vtable index: 37
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_protectedArray__(JAVA_OBJECT me);
// Vtable index: 36
JAVA_INT java_nio_ReadWriteHeapByteBuffer_protectedArrayOffset__(JAVA_OBJECT me);
// Vtable index: 38
JAVA_BOOLEAN java_nio_ReadWriteHeapByteBuffer_protectedHasArray__(JAVA_OBJECT me);
// Vtable index: 51
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_put___byte(JAVA_OBJECT me, JAVA_BYTE n1);
// Vtable index: 53
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_put___int_byte(JAVA_OBJECT me, JAVA_INT n1, JAVA_BYTE n2);
// Vtable index: 52
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_put___byte_1ARRAY_int_int(JAVA_OBJECT me, JAVA_OBJECT n1, JAVA_INT n2, JAVA_INT n3);
// Vtable index: 41
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putDouble___double(JAVA_OBJECT me, JAVA_DOUBLE n1);
// Vtable index: 42
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putDouble___int_double(JAVA_OBJECT me, JAVA_INT n1, JAVA_DOUBLE n2);
// Vtable index: 43
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putFloat___float(JAVA_OBJECT me, JAVA_FLOAT n1);
// Vtable index: 44
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putFloat___int_float(JAVA_OBJECT me, JAVA_INT n1, JAVA_FLOAT n2);
// Vtable index: 45
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putInt___int(JAVA_OBJECT me, JAVA_INT n1);
// Vtable index: 46
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putInt___int_int(JAVA_OBJECT me, JAVA_INT n1, JAVA_INT n2);
// Vtable index: 47
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putLong___int_long(JAVA_OBJECT me, JAVA_INT n1, JAVA_LONG n2);
// Vtable index: 48
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putLong___long(JAVA_OBJECT me, JAVA_LONG n1);
// Vtable index: 49
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putShort___int_short(JAVA_OBJECT me, JAVA_INT n1, JAVA_SHORT n2);
// Vtable index: 50
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_putShort___short(JAVA_OBJECT me, JAVA_SHORT n1);
// Vtable index: 54
JAVA_OBJECT java_nio_ReadWriteHeapByteBuffer_slice__(JAVA_OBJECT me);
#endif