From ce96ec7bd73028501da8f89cdc838433fff02af2 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 25 Oct 2019 07:00:18 +0200 Subject: [PATCH] header-preamble.c: add result parameter --- header-preamble.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/header-preamble.c b/header-preamble.c index b52fb3d..b44ab32 100644 --- a/header-preamble.c +++ b/header-preamble.c @@ -11,12 +11,13 @@ * * NOTE: Async Commands * - * Some command are asynchronous (marked as _async). They run in a + * Most commands are asynchronous (marked as _async). They run in a * separate thread and have the following parameters: * * callback: extern "C" fn(*mut c_void), * callback_data: *mut c_void, - * error: * mut * mut c_char, + * result: *mut c_int, + * error: *mut *mut c_char, * * The callback function is called when the the async function is * ready. Possible errors are returned in 'error'.