From 6eafa9fd3a49289d34007a018b6d1fba8e4b7e24 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 10 Jun 2025 00:47:32 -0600 Subject: libmisc: obj.h: Rework the LO_INTERFACE_* API to expose method funcs --- libmisc/tests/test_obj.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libmisc/tests/test_obj.c') diff --git a/libmisc/tests/test_obj.c b/libmisc/tests/test_obj.c index 687ad4e..c3c6786 100644 --- a/libmisc/tests/test_obj.c +++ b/libmisc/tests/test_obj.c @@ -28,19 +28,19 @@ LO_IMPLEMENTATION_H(frobber, struct myclass, myclass); /* `struct myclass` implementation ********************************************/ -LO_IMPLEMENTATION_C(frobber, struct myclass, myclass, static); +LO_IMPLEMENTATION_C(frobber, struct myclass, myclass); -static int myclass_frob(struct myclass *self) { +int myclass_frob(struct myclass *self) { test_assert(self); return self->a; } -static int myclass_frob1(struct myclass *self, int arg) { +int myclass_frob1(struct myclass *self, int arg) { test_assert(self); return arg; } -static void myclass_frob0(struct myclass *self) { +void myclass_frob0(struct myclass *self) { test_assert(self); } -- cgit v1.2.3-2-g168b