1
0
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:
killing
2011-11-02 20:37:54 +08:00
parent 7fef7aa31e
commit 12770eed2c
2 changed files with 2 additions and 2 deletions

View File

@@ -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; \