MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuScreenBufferUnbind

Function PiuScreenBufferUnbind

modules/piu/Pebble/piuScreenBuffer.c:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void PiuScreenBufferUnbind(void* it, PiuApplication* application, PiuView* view)
100{
101 PiuScreenBuffer* self = it;
102 PiuContentUnbind(it, application, view);
103 if ((*self)->buffer) {
104 gbitmap_destroy((*self)->buffer);
105 (*self)->buffer = NULL;
106 }
107}
108
109void PiuScreenBuffer_create(xsMachine* the)
110{

Callers

nothing calls this directly

Calls 1

PiuContentUnbindFunction · 0.85

Tested by

no test coverage detected