mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove MRB_METHOD_TABLE_INLINE.
`MRB_METHOD_TABLE_INLINE` was fragile. It requires `-falign-functions=n`. On platform that uses higher bits of function pointers, you can use new `MRB_METHOD_T_STRUCT` configuration macro.
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ struct mrb_context {
|
||||
*/
|
||||
typedef mrb_value (*mrb_func_t)(struct mrb_state *mrb, mrb_value self);
|
||||
|
||||
#ifdef MRB_METHOD_TABLE_INLINE
|
||||
#ifndef MRB_METHOD_T_STRUCT
|
||||
typedef uintptr_t mrb_method_t;
|
||||
#else
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user