core: object: make interface query functions const; remove type parameters

This commit is contained in:
2025-10-19 10:21:43 +01:00
parent e1e4544b67
commit 379bd048b2
5 changed files with 16 additions and 19 deletions

View File

@@ -6,7 +6,7 @@
#include <stdlib.h>
#include <string.h>
void *z__b_class_get_interface(struct _b_class *c, const union b_type *id)
void *b_class_get_interface(const struct _b_class *c, const union b_type *id)
{
const struct b_type_registration *type_reg = c->c_type;
struct b_type_component *comp