pass client and user data to error handler #100

Merged
plicease merged 1 commits from error-handler-data into master 2016-12-13 18:03:59 +00:00
plicease commented 2016-12-13 10:45:47 +00:00 (Migrated from github.com)

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.

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.
ariadne requested changes 2016-12-13 17:43:57 +00:00
ariadne left a comment

Looks good, but please make the mentioned changes.

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.

Please add the new `:param:` here.

Likewise. Please add the new :param: here.

Likewise. Please add the new `:param:` here.

indentation should be tab, not spaces.

indentation should be tab, not spaces.
plicease commented 2016-12-13 18:01:23 +00:00 (Migrated from github.com)

fixed!

fixed!

Coooool. Thanks.

Coooool. Thanks.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#100
There is no content yet.