samdze / playdate-nim

Nim bindings with extra features for the Playdate SDK
63 stars 3 forks source link

Finishcallback #63

Closed ninovanhooff closed 6 months ago

ninovanhooff commented 6 months ago

Please check whether I'm using the userData pointer correctly.

Tested both with setting a lambda as callback and passing nil to de-register. I did not test whether passing nil actually cleans up stuff properly, just that from the game's perspective it seems to work

ninovanhooff commented 6 months ago

Closing, should remove .idea files from my own repo