mirror of
https://github.com/schoebel/mars
synced 2025-01-02 20:32:17 +00:00
brick: thighten callback checking
This commit is contained in:
parent
55f9e16365
commit
89f1fb5795
@ -235,6 +235,7 @@ struct callback_object {
|
||||
CHECK_PTR(obj, done); \
|
||||
__cb = (obj)->object_cb; \
|
||||
CHECK_PTR_NULL(__cb, done); \
|
||||
CHECK_PTR_NULL(__cb->cb_fn, done); \
|
||||
__cb->cb_error = (err); \
|
||||
__cb->cb_fn(__cb); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user