core: slight changes to allow compilation under c++
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user