| 89 | } |
| 90 | |
| 91 | void PiuInverter_create(xsMachine* the) |
| 92 | { |
| 93 | PiuInverter* self; |
| 94 | xsVars(4); |
| 95 | xsSetHostChunk(xsThis, NULL, sizeof(PiuInverterRecord)); |
| 96 | self = PIU(Inverter, xsThis); |
| 97 | (*self)->the = the; |
| 98 | (*self)->reference = xsToReference(xsThis); |
| 99 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuInverterHooks); |
| 100 | (*self)->dispatch = (PiuDispatch)&PiuInverterDispatchRecord; |
| 101 | (*self)->recordSize = PiuRecordSize(sizeof(PiuInverterRecord)); |
| 102 | (*self)->flags = piuVisible; |
| 103 | PiuContentDictionary(the, self); |
| 104 | PiuBehaviorOnCreate(self); |
| 105 | } |
| 106 | |
| 107 |
nothing calls this directly
no test coverage detected