gpetersson
gpetersson
Seriously.
I waited a while to see if the original closed issue would have additional comments, but maybe you did not see it. Please check my own comments after issue #141...
Some non-standard libc's (such as on game SDKs or other embedded systems) do not do null checks before freeing memory. I think at least the `free(ini->data)` line in ini.c should...
The normal `demo/x11/main.c` has this loop: ```c while (XPending(xw.dpy)) { XNextEvent(xw.dpy, &evt); if (evt.type == ClientMessage) goto cleanup; if (XFilterEvent(&evt, xw.win)) continue; nk_xlib_handle_event(xw.dpy, xw.screen, xw.win, &evt); } ``` Where "ClientMessage"...
The format attribute `__printf__` is equivalent to `printf` but the latter works in gcc versions older than 3.2.
On gcc 3.x I get `nuklear/nuklear.h:3634: warning: parameter has incomplete type` because of a forward-declaration for `struct nk_style_item` for which it cannot determine the size of. This struct also includes...