summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-15 21:34:30 -0800
committerGitHub <noreply@github.com>2022-11-15 21:34:30 -0800
commite7443dbbcaf82eee200d33a5c3bc374ad9eec8a7 (patch)
tree876d854ae567dceb7f659fecc5ebe1c0ae421a62 /symbol.c
parent41b0f641ef0671d8cde397e56b1eb3c6b8e0f0db (diff)
downloadruby-e7443dbbcaf82eee200d33a5c3bc374ad9eec8a7.tar.gz
Rewrite Symbol#to_sym and #intern in Ruby (#6683)
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index adcc1275e3..cd6a3c3407 100644
--- a/symbol.c
+++ b/symbol.c
@@ -22,6 +22,7 @@
#include "ruby/st.h"
#include "symbol.h"
#include "vm_sync.h"
+#include "builtin.h"
#ifndef USE_SYMBOL_GC
# define USE_SYMBOL_GC 1
@@ -1262,3 +1263,4 @@ rb_is_local_name(VALUE name)
}
#include "id_table.c"
+#include "symbol.rbinc"