| 479 | extern "C" FLAXENGINE_API ManagedBinaryModule* GetBinaryModuleCorlib(); |
| 480 | |
| 481 | FORCE_INLINE int32 GetVTablePrefix() |
| 482 | { |
| 483 | #if defined(_MSC_VER) |
| 484 | // Include size of the RTTI Complete Object Locator that lays before the vtable in the memory. |
| 485 | return 96; |
| 486 | #elif defined(__clang__) |
| 487 | // Something important is before vtable in memory. |
| 488 | return 48; |
| 489 | #else |
| 490 | return 0; |
| 491 | #endif |
| 492 | } |
| 493 | |
| 494 | FORCE_INLINE int32 GetVTableIndex(void** vtable, int32 entriesCount, void* func) |
| 495 | { |
no outgoing calls
no test coverage detected