Fix typo in wrap_property in libretro binding utils

This commit is contained in:
刘皓 2025-04-29 00:07:54 -04:00
parent c51e0d2701
commit 8182f3591c
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -121,9 +121,9 @@ namespace mkxp_sandbox {
)
SANDBOX_COROUTINE(wrap_property,
VALUE operator()(VALUE self, void *ptr, const char *iv, VALUE klass) {
VALUE obj;
VALUE obj;
VALUE operator()(VALUE self, void *ptr, const char *iv, VALUE klass) {
BOOST_ASIO_CORO_REENTER (this) {
SANDBOX_AWAIT_AND_SET(obj, rb_obj_alloc, klass);
set_private_data(obj, ptr);