| 387 | |
| 388 | |
| 389 | void *CppiaClassInfo::getHaxeBaseVTable() |
| 390 | { |
| 391 | if (!haxeBase || haxeBaseVTable) |
| 392 | return haxeBaseVTable; |
| 393 | |
| 394 | hx::Object *temp = haxeBase->factory(vtable,extraData); |
| 395 | haxeBaseVTable = *(void **)temp; |
| 396 | if (!containsPointers && ( ((unsigned int *)temp)[-1] & IMMIX_ALLOC_IS_CONTAINER) ) |
| 397 | containsPointers = true; |
| 398 | |
| 399 | return haxeBaseVTable; |
| 400 | } |
| 401 | |
| 402 | int CppiaClassInfo::getScriptVTableOffset() |
| 403 | { |