1 /* This file has been automatically generated from "cast.list" */ 2 3 /* 4 ---------------------------------------------------------------------- 5 _svmf_cast_CONSTANT_Class 6 ---------------------------------------------------------------------- 7 */ 8 9 inline static _svmt_CONSTANT_Class_info * _svmf_cast_CONSTANT_Class(_svmt_cp_info * expr)10_svmf_cast_CONSTANT_Class (_svmt_cp_info * expr) 11 { 12 return (_svmt_CONSTANT_Class_info *) (void *) expr; 13 } 14 15 16 /* 17 ---------------------------------------------------------------------- 18 _svmf_cast_CONSTANT_Double 19 ---------------------------------------------------------------------- 20 */ 21 22 inline static _svmt_CONSTANT_Double_info * _svmf_cast_CONSTANT_Double(_svmt_cp_info * expr)23_svmf_cast_CONSTANT_Double (_svmt_cp_info * expr) 24 { 25 return (_svmt_CONSTANT_Double_info *) (void *) expr; 26 } 27 28 29 /* 30 ---------------------------------------------------------------------- 31 _svmf_cast_CONSTANT_Fieldref 32 ---------------------------------------------------------------------- 33 */ 34 35 inline static _svmt_CONSTANT_Fieldref_info * _svmf_cast_CONSTANT_Fieldref(_svmt_cp_info * expr)36_svmf_cast_CONSTANT_Fieldref (_svmt_cp_info * expr) 37 { 38 return (_svmt_CONSTANT_Fieldref_info *) (void *) expr; 39 } 40 41 42 /* 43 ---------------------------------------------------------------------- 44 _svmf_cast_CONSTANT_Float 45 ---------------------------------------------------------------------- 46 */ 47 48 inline static _svmt_CONSTANT_Float_info * _svmf_cast_CONSTANT_Float(_svmt_cp_info * expr)49_svmf_cast_CONSTANT_Float (_svmt_cp_info * expr) 50 { 51 return (_svmt_CONSTANT_Float_info *) (void *) expr; 52 } 53 54 55 /* 56 ---------------------------------------------------------------------- 57 _svmf_cast_CONSTANT_Integer 58 ---------------------------------------------------------------------- 59 */ 60 61 inline static _svmt_CONSTANT_Integer_info * _svmf_cast_CONSTANT_Integer(_svmt_cp_info * expr)62_svmf_cast_CONSTANT_Integer (_svmt_cp_info * expr) 63 { 64 return (_svmt_CONSTANT_Integer_info *) (void *) expr; 65 } 66 67 68 /* 69 ---------------------------------------------------------------------- 70 _svmf_cast_CONSTANT_InterfaceMethodref 71 ---------------------------------------------------------------------- 72 */ 73 74 inline static _svmt_CONSTANT_InterfaceMethodref_info * _svmf_cast_CONSTANT_InterfaceMethodref(_svmt_cp_info * expr)75_svmf_cast_CONSTANT_InterfaceMethodref (_svmt_cp_info * expr) 76 { 77 return (_svmt_CONSTANT_InterfaceMethodref_info *) (void *) expr; 78 } 79 80 81 /* 82 ---------------------------------------------------------------------- 83 _svmf_cast_CONSTANT_Long 84 ---------------------------------------------------------------------- 85 */ 86 87 inline static _svmt_CONSTANT_Long_info * _svmf_cast_CONSTANT_Long(_svmt_cp_info * expr)88_svmf_cast_CONSTANT_Long (_svmt_cp_info * expr) 89 { 90 return (_svmt_CONSTANT_Long_info *) (void *) expr; 91 } 92 93 94 /* 95 ---------------------------------------------------------------------- 96 _svmf_cast_CONSTANT_Methodref 97 ---------------------------------------------------------------------- 98 */ 99 100 inline static _svmt_CONSTANT_Methodref_info * _svmf_cast_CONSTANT_Methodref(_svmt_cp_info * expr)101_svmf_cast_CONSTANT_Methodref (_svmt_cp_info * expr) 102 { 103 return (_svmt_CONSTANT_Methodref_info *) (void *) expr; 104 } 105 106 107 /* 108 ---------------------------------------------------------------------- 109 _svmf_cast_CONSTANT_String 110 ---------------------------------------------------------------------- 111 */ 112 113 inline static _svmt_CONSTANT_String_info * _svmf_cast_CONSTANT_String(_svmt_cp_info * expr)114_svmf_cast_CONSTANT_String (_svmt_cp_info * expr) 115 { 116 return (_svmt_CONSTANT_String_info *) (void *) expr; 117 } 118 119 120 /* 121 ---------------------------------------------------------------------- 122 _svmf_cast_ConstantValue 123 ---------------------------------------------------------------------- 124 */ 125 126 inline static _svmt_ConstantValue_attribute * _svmf_cast_ConstantValue(_svmt_attribute_info * expr)127_svmf_cast_ConstantValue (_svmt_attribute_info * expr) 128 { 129 return (_svmt_ConstantValue_attribute *) (void *) expr; 130 } 131 132 133 /* 134 ---------------------------------------------------------------------- 135 _svmf_cast_InnerClasses_attribute 136 ---------------------------------------------------------------------- 137 */ 138 139 inline static _svmt_InnerClasses_attribute * _svmf_cast_InnerClasses_attribute(_svmt_attribute_info * expr)140_svmf_cast_InnerClasses_attribute (_svmt_attribute_info * expr) 141 { 142 return (_svmt_InnerClasses_attribute *) (void *) expr; 143 } 144 145 146 /* 147 ---------------------------------------------------------------------- 148 _svmf_cast_LineNumberTable_attribute 149 ---------------------------------------------------------------------- 150 */ 151 152 inline static _svmt_LineNumberTable_attribute * _svmf_cast_LineNumberTable_attribute(_svmt_attribute_info * expr)153_svmf_cast_LineNumberTable_attribute (_svmt_attribute_info * expr) 154 { 155 return (_svmt_LineNumberTable_attribute *) (void *) expr; 156 } 157 158 159 /* 160 ---------------------------------------------------------------------- 161 _svmf_cast_array 162 ---------------------------------------------------------------------- 163 */ 164 165 inline static _svmt_array_info * _svmf_cast_array(_svmt_type_info * expr)166_svmf_cast_array (_svmt_type_info * expr) 167 { 168 return (_svmt_array_info *) (void *) expr; 169 } 170 171 172 /* 173 ---------------------------------------------------------------------- 174 _svmf_cast_class 175 ---------------------------------------------------------------------- 176 */ 177 178 inline static _svmt_class_info * _svmf_cast_class(_svmt_type_info * expr)179_svmf_cast_class (_svmt_type_info * expr) 180 { 181 return (_svmt_class_info *) (void *) expr; 182 } 183 184 185 /* 186 ---------------------------------------------------------------------- 187 _svmf_cast_code_attribute 188 ---------------------------------------------------------------------- 189 */ 190 191 inline static _svmt_Code_attribute * _svmf_cast_code_attribute(_svmt_attribute_info * expr)192_svmf_cast_code_attribute (_svmt_attribute_info * expr) 193 { 194 return (_svmt_Code_attribute *) (void *) expr; 195 } 196 197 198 /* 199 ---------------------------------------------------------------------- 200 _svmf_cast_Exceptions_attribute 201 ---------------------------------------------------------------------- 202 */ 203 204 inline static _svmt_Exceptions_attribute * _svmf_cast_Exceptions_attribute(_svmt_attribute_info * expr)205_svmf_cast_Exceptions_attribute (_svmt_attribute_info * expr) 206 { 207 return (_svmt_Exceptions_attribute *) (void *) expr; 208 } 209 210 211 /* 212 ---------------------------------------------------------------------- 213 _svmf_cast_SourceFile_attribute 214 ---------------------------------------------------------------------- 215 */ 216 217 inline static _svmt_SourceFile_attribute * _svmf_cast_SourceFile_attribute(_svmt_attribute_info * expr)218_svmf_cast_SourceFile_attribute (_svmt_attribute_info * expr) 219 { 220 return (_svmt_SourceFile_attribute *) (void *) expr; 221 } 222 223 224 /* 225 ---------------------------------------------------------------------- 226 _svmf_cast_jarray 227 ---------------------------------------------------------------------- 228 */ 229 230 inline static jarray _svmf_cast_jarray(jobject expr)231_svmf_cast_jarray (jobject expr) 232 { 233 return (jarray) (void *) expr; 234 } 235 236 237 /* 238 ---------------------------------------------------------------------- 239 _svmf_cast_jobject 240 ---------------------------------------------------------------------- 241 */ 242 243 inline static jobject _svmf_cast_jobject(jarray expr)244_svmf_cast_jobject (jarray expr) 245 { 246 return (jobject) (void *) expr; 247 } 248 249 250 /* 251 ---------------------------------------------------------------------- 252 _svmf_cast_jobject_nref 253 ---------------------------------------------------------------------- 254 */ 255 256 inline static jobject _svmf_cast_jobject_nref(_svmt_native_ref * expr)257_svmf_cast_jobject_nref (_svmt_native_ref * expr) 258 { 259 return (jobject) (void *) expr; 260 } 261 262 263 /* 264 ---------------------------------------------------------------------- 265 _svmf_cast_nref_jobject 266 ---------------------------------------------------------------------- 267 */ 268 269 inline static _svmt_native_ref * _svmf_cast_nref_jobject(jobject expr)270_svmf_cast_nref_jobject (jobject expr) 271 { 272 return (_svmt_native_ref *) (void *) expr; 273 } 274 275 276 /* 277 ---------------------------------------------------------------------- 278 _svmf_cast_object_instance 279 ---------------------------------------------------------------------- 280 */ 281 282 inline static _svmt_object_instance * _svmf_cast_object_instance(_svmt_array_instance * expr)283_svmf_cast_object_instance (_svmt_array_instance * expr) 284 { 285 return (_svmt_object_instance *) (void *) expr; 286 } 287 288 289 /* 290 ---------------------------------------------------------------------- 291 _svmf_cast_array_instance 292 ---------------------------------------------------------------------- 293 */ 294 295 inline static _svmt_array_instance * _svmf_cast_array_instance(_svmt_object_instance * expr)296_svmf_cast_array_instance (_svmt_object_instance * expr) 297 { 298 return (_svmt_array_instance *) (void *) expr; 299 } 300 301 302 /* 303 ---------------------------------------------------------------------- 304 _svmf_cast_JavaVM 305 ---------------------------------------------------------------------- 306 */ 307 308 inline static JavaVM * _svmf_cast_JavaVM(_svmt_JavaVM * expr)309_svmf_cast_JavaVM (_svmt_JavaVM * expr) 310 { 311 return (JavaVM *) (void *) expr; 312 } 313 314 315 /* 316 ---------------------------------------------------------------------- 317 _svmf_cast_parray 318 ---------------------------------------------------------------------- 319 */ 320 321 inline static _svmt_array_info ** _svmf_cast_parray(_svmt_type_info ** expr)322_svmf_cast_parray (_svmt_type_info ** expr) 323 { 324 return (_svmt_array_info **) (void *) expr; 325 } 326 327 328 /* 329 ---------------------------------------------------------------------- 330 _svmf_cast_pclass 331 ---------------------------------------------------------------------- 332 */ 333 334 inline static _svmt_class_info ** _svmf_cast_pclass(_svmt_type_info ** expr)335_svmf_cast_pclass (_svmt_type_info ** expr) 336 { 337 return (_svmt_class_info **) (void *) expr; 338 } 339 340 341 /* 342 ---------------------------------------------------------------------- 343 _svmf_cast_type_array 344 ---------------------------------------------------------------------- 345 */ 346 347 inline static _svmt_type_info * _svmf_cast_type_array(_svmt_array_info * expr)348_svmf_cast_type_array (_svmt_array_info * expr) 349 { 350 return (_svmt_type_info *) (void *) expr; 351 } 352 353 354 /* 355 ---------------------------------------------------------------------- 356 _svmf_cast_type_class 357 ---------------------------------------------------------------------- 358 */ 359 360 inline static _svmt_type_info * _svmf_cast_type_class(_svmt_class_info * expr)361_svmf_cast_type_class (_svmt_class_info * expr) 362 { 363 return (_svmt_type_info *) (void *) expr; 364 } 365 366 367 /* 368 ---------------------------------------------------------------------- 369 _svmf_cast_svmt_JNIEnv 370 ---------------------------------------------------------------------- 371 */ 372 373 inline static _svmt_JNIEnv * _svmf_cast_svmt_JNIEnv(JNIEnv * expr)374_svmf_cast_svmt_JNIEnv (JNIEnv * expr) 375 { 376 return (_svmt_JNIEnv *) (void *) expr; 377 } 378 379