promise_ctx_destroy_cb的参数应该为void*ctx。
This commit is contained in:
@@ -13,7 +13,7 @@ struct future;
|
||||
typedef void future_result_t;
|
||||
typedef void (future_success_cb)(future_result_t* result, void * user);
|
||||
typedef void (future_failed_cb)(enum e_future_error err, const char * what, void * user);
|
||||
typedef void (promise_ctx_destroy_cb)(struct promise * p);
|
||||
typedef void (promise_ctx_destroy_cb)(void* ctx);
|
||||
|
||||
void future_promise_library_init(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user