summaryrefslogtreecommitdiff
path: root/libmisc/tests/test_obj.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-02 16:47:00 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-02 16:47:00 -0600
commitce8ae41d677875adb45d99c351bcba108fb82a44 (patch)
tree45d54aca9fd5a4bb67ad55e50b71eaa6713894c0 /libmisc/tests/test_obj.c
parent6a6e3083d2d60cbd5bd581f432a0c56eff2bf29e (diff)
parent559627b00b74e11e394589bfcc8864b0f22d7e1b (diff)
Merge branch 'lukeshu/better-cpp'HEADmain
Diffstat (limited to 'libmisc/tests/test_obj.c')
-rw-r--r--libmisc/tests/test_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/tests/test_obj.c b/libmisc/tests/test_obj.c
index 687ad4e..a13b8c9 100644
--- a/libmisc/tests/test_obj.c
+++ b/libmisc/tests/test_obj.c
@@ -53,7 +53,7 @@ int main() {
struct myclass obj = {
.a = MAGIC1,
};
- lo_interface frobber iface = lo_box_myclass_as_frobber(&obj);
+ lo_interface frobber iface = LO_BOX(frobber, &obj);
test_assert(LO_CALL(iface, frob) == MAGIC1);
test_assert(LO_CALL(iface, frob1, MAGIC2) == MAGIC2);
LO_CALL(iface, frob0);