diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-02 16:47:00 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-02 16:47:00 -0600 |
commit | ce8ae41d677875adb45d99c351bcba108fb82a44 (patch) | |
tree | 45d54aca9fd5a4bb67ad55e50b71eaa6713894c0 /libmisc/tests/test_obj_nest.c | |
parent | 6a6e3083d2d60cbd5bd581f432a0c56eff2bf29e (diff) | |
parent | 559627b00b74e11e394589bfcc8864b0f22d7e1b (diff) |
Merge branch 'lukeshu/better-cpp'
Diffstat (limited to 'libmisc/tests/test_obj_nest.c')
-rw-r--r-- | libmisc/tests/test_obj_nest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/tests/test_obj_nest.c b/libmisc/tests/test_obj_nest.c index d5e563e..ba5ac37 100644 --- a/libmisc/tests/test_obj_nest.c +++ b/libmisc/tests/test_obj_nest.c @@ -64,7 +64,7 @@ static ssize_t myclass_write(struct myclass *self, void *buf, size_t count) { int main() { struct myclass _obj = {}; - lo_interface read_writer obj = lo_box_myclass_as_read_writer(&_obj); + lo_interface read_writer obj = LO_BOX(read_writer, &_obj); test_assert(LO_CALL(obj, write, "Hello", 6) == 6); char buf[6] = {}; test_assert(LO_CALL(obj, read, buf, 3) == 3); |