core: slight changes to allow compilation under c++

This commit is contained in:
2026-02-03 17:40:45 +00:00
parent 84df46489a
commit e0aea0be19
10 changed files with 39 additions and 22 deletions

View File

@@ -28,7 +28,7 @@ const char *b_class_get_name(const struct _b_class *c)
return c->c_type->r_info->t_name;
}
void *b_class_get_interface(const struct _b_class *c, const union b_type *id)
void *b_class_get_interface(const struct _b_class *c, const union b_type_id *id)
{
if (!c) {
return NULL;