| 92 | } |
| 93 | |
| 94 | void PiuLayout_create(xsMachine* the) |
| 95 | { |
| 96 | PiuLayout* self; |
| 97 | xsVars(4); |
| 98 | xsSetHostChunk(xsThis, NULL, sizeof(PiuLayoutRecord)); |
| 99 | self = PIU(Layout, xsThis); |
| 100 | (*self)->the = the; |
| 101 | (*self)->reference = xsToReference(xsThis); |
| 102 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuLayoutHooks); |
| 103 | (*self)->dispatch = (PiuDispatch)&PiuLayoutDispatchRecord; |
| 104 | (*self)->recordSize = PiuRecordSize(sizeof(PiuLayoutRecord)); |
| 105 | (*self)->flags = piuVisible | piuContainer; |
| 106 | PiuContentDictionary(the, self); |
| 107 | PiuContainerDictionary(the, self); |
| 108 | PiuBehaviorOnCreate(self); |
| 109 | } |
nothing calls this directly
no test coverage detected