| 131 | } |
| 132 | |
| 133 | void PiuPort_create(xsMachine* the) |
| 134 | { |
| 135 | PiuPort* self; |
| 136 | xsVars(4); |
| 137 | xsSetHostChunk(xsThis, NULL, sizeof(PiuPortRecord)); |
| 138 | self = PIU(Port, xsThis); |
| 139 | (*self)->the = the; |
| 140 | (*self)->reference = xsToReference(xsThis); |
| 141 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuPortHooks); |
| 142 | (*self)->dispatch = (PiuDispatch)&PiuPortDispatchRecord; |
| 143 | (*self)->recordSize = PiuRecordSize(sizeof(PiuPortRecord)); |
| 144 | (*self)->flags = piuVisible; |
| 145 | PiuContentDictionary(the, self); |
| 146 | PiuBehaviorOnCreate(self); |
| 147 | } |
| 148 | |
| 149 | void PiuPort_set_skin(xsMachine *the) |
| 150 | { |
nothing calls this directly
no test coverage detected