How do I call Mix_GetError from the nim SDL2 Mixer bindings?

176 Views Asked by At

There are multiple references in the nim SDL2 mixer.nim file to Error messages can be retrieved from Mix_GetError().

However, I can't seem to find this function defined in the mixer.nim file

How can I get the latest error string?

1

There are 1 best solutions below

1
On BEST ANSWER

You can call sdl2.getError() (from from the base sdl2 bindings) to get the latest error string.