header-preamble.c: add result parameter

This commit is contained in:
Dietmar Maurer 2019-10-25 07:00:18 +02:00
parent 82c4d21165
commit ce96ec7bd7

View File

@ -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'.