| 279 | } |
| 280 | |
| 281 | void PiuTextLink_create(xsMachine* the) |
| 282 | { |
| 283 | PiuTextLink* self; |
| 284 | xsVars(4); |
| 285 | xsSetHostChunk(xsThis, NULL, sizeof(PiuTextLinkRecord)); |
| 286 | self = PIU(TextLink, xsThis); |
| 287 | (*self)->the = the; |
| 288 | (*self)->reference = xsToReference(xsThis); |
| 289 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuTextLinkHooks); |
| 290 | (*self)->dispatch = (PiuDispatch)&PiuTextLinkDispatchRecord; |
| 291 | (*self)->recordSize = PiuRecordSize(sizeof(PiuTextLinkRecord)); |
| 292 | (*self)->flags = piuVisible | piuActive | piuExclusiveTouch; |
| 293 | PiuTextLinkDictionary(the, self); |
| 294 | PiuBehaviorOnCreate(self); |
| 295 | } |
| 296 | |
| 297 | void PiuTextLink_get_state(xsMachine* the) |
| 298 | { |
nothing calls this directly
no test coverage detected