core: type: fix registration of types that extend something other than b_object
This commit is contained in:
@@ -24,10 +24,15 @@ typedef const union b_type {
|
||||
unsigned char b[16];
|
||||
} *b_type;
|
||||
|
||||
typedef enum b_type_flags {
|
||||
B_TYPE_F_ABSTRACT = 0x01u,
|
||||
} b_type_flags;
|
||||
|
||||
typedef struct b_type_info {
|
||||
union b_type t_id;
|
||||
union b_type t_parent_id;
|
||||
const char *t_name;
|
||||
b_type_flags t_flags;
|
||||
union b_type t_interfaces[B_TYPE_MAX_INTERFACES];
|
||||
size_t t_nr_interfaces;
|
||||
size_t t_class_size;
|
||||
|
||||
Reference in New Issue
Block a user