summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-09-09 11:51:11 +0900
committerNobuyoshi Nakada <[email protected]>2022-09-09 14:20:47 +0900
commit2dcaeb75ff0e0a2fbafc4df0df9d7be119235415 ()
treed2bc42e44f69a56b50364126ba06b7c45e99ca67 /builtin.h
parentdb0e0dad1171456253ebd899e7e878823923d3d8 (diff)
Built-in function table sentinels do not need names
-rw-r--r--builtin.h2
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ struct rb_builtin_function {
};
#define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity, _compiler) {\
- .name = #_name, \
.func_ptr = (void *)_fname, \
.argc = _arity, \
.index = _i, \