mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-04-08 18:25:04 -05:00
chore: Add more debug logging
Good to know if the API actually got initialized when tracing issues with these.
This commit is contained in:
parent
9a87281603
commit
d73ded1895
|
|
@ -79,6 +79,8 @@ void core_property_node_api_set(const core_property_node_api_t *api)
|
|||
CORE_PROPERTY_NODE_ASSERT_IMPLEMENTED(api->v1.bool_read, bool_read);
|
||||
CORE_PROPERTY_NODE_ASSERT_IMPLEMENTED(api->v1.remove, remove);
|
||||
CORE_PROPERTY_NODE_ASSERT_IMPLEMENTED(api->v1.copy, copy);
|
||||
|
||||
log_misc("api v1 set");
|
||||
} else {
|
||||
log_fatal("Unsupported API version: %d", api->version);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ void core_property_api_set(const core_property_api_t *api)
|
|||
CORE_PROPERTY_ASSERT_IMPLEMENTED(
|
||||
api->v1.other_node_insert, other_node_insert);
|
||||
CORE_PROPERTY_ASSERT_IMPLEMENTED(api->v1.free, free);
|
||||
|
||||
log_misc("api v1 set");
|
||||
} else {
|
||||
log_fatal("Unsupported API version: %d", api->version);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user