| 248 | } |
| 249 | |
| 250 | void PiuGIFImage_create(xsMachine* the) |
| 251 | { |
| 252 | PiuGIFImage* self; |
| 253 | xsVars(4); |
| 254 | xsSetHostChunk(xsThis, NULL, sizeof(PiuGIFImageRecord)); |
| 255 | self = PIU(GIFImage, xsThis); |
| 256 | (*self)->the = the; |
| 257 | (*self)->reference = xsToReference(xsThis); |
| 258 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuGIFImageHooks); |
| 259 | (*self)->dispatch = (PiuDispatch)&PiuGIFImageDispatchRecord; |
| 260 | (*self)->recordSize = PiuRecordSize(sizeof(PiuGIFImageRecord)); |
| 261 | (*self)->flags = piuVisible; |
| 262 | PiuContentDictionary(the, self); |
| 263 | PiuGIFImageDictionary(the, self); |
| 264 | PiuBehaviorOnCreate(self); |
| 265 | } |
| 266 | |
| 267 |
nothing calls this directly
no test coverage detected