Skip to content

Commit

Permalink
Fix static functions definitions
Browse files Browse the repository at this point in the history
Fixes #75, fix from @DDexxeDD
  • Loading branch information
RobLoach committed Jul 21, 2024
1 parent 46dee05 commit 6205a9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/raylib-nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ NK_API float nk_raylib_font_get_text_width(nk_handle handle, float height, const
NK_API float nk_raylib_font_get_text_width_user_font(nk_handle handle, float height, const char *text, int len);
NK_API void nk_raylib_clipboard_paste(nk_handle usr, struct nk_text_edit *edit);
NK_API void nk_raylib_clipboard_copy(nk_handle usr, const char *text, int len);
NK_LIB void* nk_raylib_malloc(nk_handle unused, void *old, nk_size size);
NK_LIB void nk_raylib_mfree(nk_handle unused, void *ptr);
NK_API void* nk_raylib_malloc(nk_handle unused, void *old, nk_size size);
NK_API void nk_raylib_mfree(nk_handle unused, void *ptr);
NK_API struct nk_context* InitNuklearContext(struct nk_user_font* userFont);
NK_API void nk_raylib_input_keyboard(struct nk_context * ctx);
NK_API void nk_raylib_input_mouse(struct nk_context * ctx);
Expand Down Expand Up @@ -223,7 +223,7 @@ nk_raylib_clipboard_copy(nk_handle usr, const char *text, int len)
*
* @internal
*/
NK_LIB void*
NK_API void*
nk_raylib_malloc(nk_handle unused, void *old, nk_size size)
{
NK_UNUSED(unused);
Expand All @@ -234,7 +234,7 @@ nk_raylib_malloc(nk_handle unused, void *old, nk_size size)
/**
* Nuklear callback; Free memory for Nuklear.
*/
NK_LIB void
NK_API void
nk_raylib_mfree(nk_handle unused, void *ptr)
{
NK_UNUSED(unused);
Expand Down

0 comments on commit 6205a9e

Please sign in to comment.