pass client and user data to error handler #100
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "error-handler-data"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Would it be possible to pass in the client object and some user data into the error handler? This will help me route errors to the appropriate client object.
Looks good, but please make the mentioned changes.
@ -42,3 +43,3 @@
*/
void
pkgconf_client_init(pkgconf_client_t *client, pkgconf_error_handler_func_t error_handler)
pkgconf_client_init(pkgconf_client_t *client, pkgconf_error_handler_func_t error_handler, void *error_handler_data)
Please add the new
:param:
here.Likewise. Please add the new
:param:
here.indentation should be tab, not spaces.
fixed!
Coooool. Thanks.