1 #ifndef __ORG_XMLVM_RUNTIME_MUTEX__ 2 #define __ORG_XMLVM_RUNTIME_MUTEX__ 3 4 #include "xmlvm.h" 5 6 // Preprocessor constants for interfaces: 7 #define XMLVM_ITABLE_SIZE_org_xmlvm_runtime_Mutex 0 8 // Implemented interfaces: 9 // Super Class: 10 #include "java_lang_Object.h" 11 12 // Circular references: 13 #ifndef XMLVM_FORWARD_DECL_java_util_LinkedList 14 #define XMLVM_FORWARD_DECL_java_util_LinkedList 15 XMLVM_FORWARD_DECL(java_util_LinkedList) 16 #endif 17 #ifndef XMLVM_FORWARD_DECL_java_util_Queue 18 #define XMLVM_FORWARD_DECL_java_util_Queue 19 XMLVM_FORWARD_DECL(java_util_Queue) 20 #endif 21 // Class declarations for org.xmlvm.runtime.Mutex 22 XMLVM_DEFINE_CLASS(org_xmlvm_runtime_Mutex, 6, XMLVM_ITABLE_SIZE_org_xmlvm_runtime_Mutex) 23 24 extern JAVA_OBJECT __CLASS_org_xmlvm_runtime_Mutex; 25 extern JAVA_OBJECT __CLASS_org_xmlvm_runtime_Mutex_1ARRAY; 26 extern JAVA_OBJECT __CLASS_org_xmlvm_runtime_Mutex_2ARRAY; 27 extern JAVA_OBJECT __CLASS_org_xmlvm_runtime_Mutex_3ARRAY; 28 //XMLVM_BEGIN_DECLARATIONS 29 #define __ADDITIONAL_INSTANCE_FIELDS_org_xmlvm_runtime_Mutex 30 //XMLVM_END_DECLARATIONS 31 32 #define __INSTANCE_FIELDS_org_xmlvm_runtime_Mutex \ 33 __INSTANCE_FIELDS_java_lang_Object; \ 34 struct { \ 35 JAVA_OBJECT nativeMutex_; \ 36 __ADDITIONAL_INSTANCE_FIELDS_org_xmlvm_runtime_Mutex \ 37 } org_xmlvm_runtime_Mutex 38 39 struct org_xmlvm_runtime_Mutex { 40 __TIB_DEFINITION_org_xmlvm_runtime_Mutex* tib; 41 struct { 42 __INSTANCE_FIELDS_org_xmlvm_runtime_Mutex; 43 } fields; 44 }; 45 #ifndef XMLVM_FORWARD_DECL_org_xmlvm_runtime_Mutex 46 #define XMLVM_FORWARD_DECL_org_xmlvm_runtime_Mutex 47 typedef struct org_xmlvm_runtime_Mutex org_xmlvm_runtime_Mutex; 48 #endif 49 50 #define XMLVM_VTABLE_SIZE_org_xmlvm_runtime_Mutex 6 51 52 void __INIT_org_xmlvm_runtime_Mutex(); 53 void __INIT_IMPL_org_xmlvm_runtime_Mutex(); 54 void __DELETE_org_xmlvm_runtime_Mutex(void* me, void* client_data); 55 void __INIT_INSTANCE_MEMBERS_org_xmlvm_runtime_Mutex(JAVA_OBJECT me, int derivedClassWillRegisterFinalizer); 56 JAVA_OBJECT __NEW_org_xmlvm_runtime_Mutex(); 57 JAVA_OBJECT __NEW_INSTANCE_org_xmlvm_runtime_Mutex(); 58 void xmlvm_init_native_org_xmlvm_runtime_Mutex(); 59 JAVA_OBJECT org_xmlvm_runtime_Mutex_GET_finalizableNativeMutexList(); 60 void org_xmlvm_runtime_Mutex_PUT_finalizableNativeMutexList(JAVA_OBJECT v); 61 void org_xmlvm_runtime_Mutex_addNativeMutexToFinalizerQueue___java_lang_Object(JAVA_OBJECT n1); 62 void org_xmlvm_runtime_Mutex_destroyFinalizableNativeMutexes__(); 63 void org_xmlvm_runtime_Mutex_destroyNativeMutex___java_lang_Object(JAVA_OBJECT n1); 64 void org_xmlvm_runtime_Mutex___INIT___(JAVA_OBJECT me); 65 void org_xmlvm_runtime_Mutex_initNativeInstance__(JAVA_OBJECT me); 66 void org_xmlvm_runtime_Mutex_lock__(JAVA_OBJECT me); 67 void org_xmlvm_runtime_Mutex_unlock__(JAVA_OBJECT me); 68 void org_xmlvm_runtime_Mutex___CLINIT_(); 69 70 #endif 71