mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Change modifier to MRB_INLINE from static inline
This commit is contained in:
@@ -63,7 +63,7 @@ MRB_API void *mrb_data_check_get_ptr(mrb_state *mrb, mrb_value, const mrb_data_t
|
||||
*(void**)&sval = mrb_data_get_ptr(mrb, obj, type); \
|
||||
} while (0)
|
||||
|
||||
static inline void
|
||||
MRB_INLINE void
|
||||
mrb_data_init(mrb_value v, void *ptr, const mrb_data_type *type)
|
||||
{
|
||||
mrb_assert(mrb_type(v) == MRB_TT_DATA);
|
||||
|
||||
Reference in New Issue
Block a user