Skip to content

Conversation

@House-Men
Copy link
Contributor

@House-Men House-Men commented Apr 16, 2025

添加hmain signal_handle_noexit函数

因为signal_handle内部自动exit结束程序,而当业务层需要在exit之前做一些操作(例如执行打开正在运行的http服务首页url),因此需要支持一个不自动exit的函数版本。

支持自定义设置hmain内部msg信息 printf函数指针

因为不是所有程序都是控制台程序,而非控制台程序需要采用MessageBox或其他信息渲染方式来提示信息,因此需要支持自定义设置hmain使用的printf函数指针接管后由用户业务层采用其他形式进行提示。

@House-Men House-Men changed the title 支持hmain兼容windows非控制台程序 支持hmain兼容windows非控制台以及linux gui程序 Apr 16, 2025
support custom set hmain internal msg printf function pointer
@ithewei ithewei merged commit 3778046 into ithewei:master Apr 17, 2025
6 checks passed
@House-Men House-Men deleted the patch-9 branch April 17, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants