c api测试程序防止退出时崩溃

This commit is contained in:
xiongziliang
2019-12-23 14:20:49 +08:00
parent 6796d0b592
commit 92bc4fbbb1
5 changed files with 23 additions and 7 deletions

View File

@@ -71,6 +71,11 @@ typedef struct {
*/
API_EXPORT void API_CALL mk_env_init(const mk_config *cfg);
/**
* 关闭所有服务器请在main函数退出时调用
*/
API_EXPORT void API_CALL mk_stop_all_server();
/**
* 基础类型参数版本的mk_env_init为了方便其他语言调用
*/