Przeglądaj źródła

Merge pull request #757 from mischief/nkwindowtypo

fix nk_window_find prototype in documentation
Micha Mettke 7 lat temu
rodzic
commit
181cfd86c4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/nuklear.h

+ 1 - 1
src/nuklear.h

@@ -1295,7 +1295,7 @@ NK_API void nk_end(struct nk_context *ctx);
 /// Finds and returns a window from passed name
 /// Finds and returns a window from passed name
 ///
 ///
 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
-/// void nk_end(struct nk_context *ctx);
+/// struct nk_window *nk_window_find(struct nk_context *ctx, const char *name);
 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ///
 ///
 /// Parameter   | Description
 /// Parameter   | Description