We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a425987 commit de40c7cCopy full SHA for de40c7c
2 files changed
include/LCUI/main.h
@@ -235,7 +235,7 @@ LCUI_API void LCUI_Init(void);
235
LCUI_API int LCUI_Main(void);
236
237
/** 获取LCUI的版本 */
238
-LCUI_API int LCUI_GetSelfVersion(char *out);
+LCUI_API const char *LCUI_GetVersion(void);
239
240
/** 释放LCUI占用的资源 */
241
LCUI_API int LCUI_Destroy(void);
src/main.c
@@ -646,6 +646,11 @@ void LCUI_Init(void)
646
}
647
648
649
+const char *LCUI_GetVersion(void)
650
+{
651
+ return PACKAGE_VERSION;
652
+}
653
+
654
int LCUI_Destroy(void)
655
{
656
LCUI_SysEventRec e;
0 commit comments