tophat2d / tophat

:tophat: a 2d game library for Umka
https://tophat2d.dev
BSD 3-Clause "New" or "Revised" License
72 stars 5 forks source link

Using ptrVal as an alias for intVal is no longer allowed in Umka #39

Closed vtereshkov closed 2 years ago

vtereshkov commented 2 years ago

As Umka now defines ptrVal as void * instead of int64_t, it reveals several bugs (or at least typos) in tophat:

https://github.com/marekmaskarinec/tophat/blob/5931dc958b7a794ab31bbdbe174cb94ac340248e/src/bindings.c#L270 https://github.com/marekmaskarinec/tophat/blob/5931dc958b7a794ab31bbdbe174cb94ac340248e/src/bindings.c#L623

marekmaskarinec commented 2 years ago

Should be fixed.