ui/ui/toolkit.h

branch
newapi
changeset 177
e79a60b3a7cb
parent 173
809581724cc7
child 181
c52d88ea020b
--- a/ui/ui/toolkit.h	Sat Apr 15 21:06:45 2023 +0200
+++ b/ui/ui/toolkit.h	Sun Apr 16 10:20:21 2023 +0200
@@ -79,6 +79,10 @@
 #define FALSE 0
 #endif
 
+#ifndef UIEXPORT
+#define UIEXPORT
+#endif
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
@@ -284,8 +288,8 @@
 };
 
 
-void ui_init(char *appname, int argc, char **argv);
-char* ui_appname();
+void ui_init(const char *appname, int argc, char **argv);
+const char* ui_appname();
 
 UiContext* ui_global_context(void);
 

mercurial