Add more const qualifier for RProc

This commit is contained in:
dearblue
2025-01-20 22:25:50 +09:00
parent ab3abdf5aa
commit a981f5aed7
8 changed files with 36 additions and 35 deletions
+1 -1
View File
@@ -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;