Searched refs:SG_INSTANCE (Results 1 – 3 of 3) sorted by relevance
190 SG_INSTANCE(obj)->slots = slots; in Sg_AllocateInstance()1204 SgObject val = SG_INSTANCE(obj)->slots[accessor->index]; in slot_ref_rec()1253 SG_INSTANCE(obj)->slots[accessor->index] = value; in slot_set_rec()1289 return SG_INSTANCE(obj)->slots[ac->index]; in Sg_SlotRefUsingAccessor()1304 SG_INSTANCE(obj)->slots[ac->index] = value; in Sg_SlotSetUsingAccessor()2425 slots = SG_INSTANCE(oldInstance)->slots; in Sg_SwapClassAndSlots()2426 SG_INSTANCE(oldInstance)->slots = SG_INSTANCE(newInstance)->slots; in Sg_SwapClassAndSlots()2427 SG_INSTANCE(newInstance)->slots = slots; in Sg_SwapClassAndSlots()
2437 SG_INSTANCE(port)->slots = slots; in custom_port_allocate()2440 SG_INSTANCE(BI_CUSTOM_OUT(port))->slots = slots; in custom_port_allocate()
41 #define SG_INSTANCE(obj) ((SgInstance*)(obj)) macro