mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add more const qualifier for RProc
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ typedef struct {
|
||||
uint32_t flags; /* compatible with mt keys in class.c */
|
||||
|
||||
union {
|
||||
struct RProc *proc;
|
||||
const struct RProc *proc;
|
||||
mrb_func_t func;
|
||||
} as;
|
||||
} mrb_method_t;
|
||||
|
||||
Reference in New Issue
Block a user