From 875c74b6323b1c5da1a561e79746fba123bc54de Mon Sep 17 00:00:00 2001 From: yitter Date: Sat, 10 Apr 2021 22:37:54 +0800 Subject: [PATCH] auto commit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 32fca0e..b5572f1 100644 --- a/README.md +++ b/README.md @@ -208,13 +208,13 @@ QQ群:646049993 // port: redis 端口 // password: redis 访问密码,可为空字符串“” // maxWorkerId: 最大 WorkerId -extern __declspec(dllexport) GoInt32 RegisterOne(char* ip, GoInt32 port, char* password, GoInt32 maxWorkerId); +extern GoInt32 RegisterOne(char* ip, GoInt32 port, char* password, GoInt32 maxWorkerId); // 注销本机已注册的 WorkerId -extern __declspec(dllexport) void UnRegister(); +extern void UnRegister(); // 检查本地WorkerId是否有效(0-有效,其它-无效) -extern __declspec(dllexport) GoInt32 Validate(GoInt32 workerId); +extern GoInt32 Validate(GoInt32 workerId); ``` ## 已实现的语言