mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-21 18:27:37 +00:00
Add _async suffix for generated async RPC functions.
This commit is contained in:
@@ -339,7 +339,7 @@ def gen_dfun_macro_list():
|
||||
async_dfun_template = r"""
|
||||
#define SEARPC_CLIENT_ASYNC_DEFUN_${RET_TYPE}__${ARG_TYPES}(funcname, gtype) \
|
||||
static int \
|
||||
funcname (SearpcClient *client, ${args} \
|
||||
funcname##_async (SearpcClient *client, ${args} \
|
||||
AsyncCallback callback, void *user_data) \
|
||||
{ \
|
||||
char *fcall; \
|
||||
|
Reference in New Issue
Block a user