diff --git a/src/PikaObj.h b/src/PikaObj.h index ba933f314..bfd88a230 100644 --- a/src/PikaObj.h +++ b/src/PikaObj.h @@ -66,6 +66,20 @@ struct ByteCodeFrame { InstructArray instruct_array; }; +typedef struct NativeMethod { + const Hash hash; + const char* name; + const char* pars; + const void* funPtr; +} NativeMethod; + +typedef struct NativeClass NativeClass; +struct NativeClass { + const NativeClass* super; + const NativeMethod* methodGroup; + uint32_t methodGroupCount; +}; + typedef struct PikaObj PikaObj; struct PikaObj { Args* list;