Add test support for types and objects creation
* test_support::TypeInfoHolder to create TypeInfo given payload description * test_support::Object<Payload> to create objects with Payload and to get them from ObjHeader* after checking that their type_info are layout compatible. * test_support::*Array<Count> to create various arrays with given length and similarly get them from ArrayHeader*.
This commit is contained in:
committed by
Space
parent
aff49c76a9
commit
f51c85a63f
@@ -138,6 +138,7 @@ struct MemoryState;
|
||||
MemoryState* InitMemory(bool firstRuntime);
|
||||
void DeinitMemory(MemoryState*, bool destroyRuntime);
|
||||
void RestoreMemory(MemoryState*);
|
||||
void ClearMemoryForTests(MemoryState*);
|
||||
|
||||
//
|
||||
// Object allocation.
|
||||
|
||||
Reference in New Issue
Block a user