summaryrefslogtreecommitdiff
path: root/internal/symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/symbol.h')
-rw-r--r--internal/symbol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/symbol.h b/internal/symbol.h
index 691df66228..b9109b1347 100644
--- a/internal/symbol.h
+++ b/internal/symbol.h
@@ -1,7 +1,6 @@
#ifndef INTERNAL_SYMBOL_H /*-*-C-*-vi:se ft=c:*/
#define INTERNAL_SYMBOL_H
/**
- * @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
* Permission is hereby granted, to either redistribute and/or
@@ -18,6 +17,7 @@
#endif
/* symbol.c */
+void rb_sym_global_symbols_mark_and_move(void);
VALUE rb_to_symbol_type(VALUE obj);
VALUE rb_sym_intern(const char *ptr, long len, rb_encoding *enc);
VALUE rb_sym_intern_ascii(const char *ptr, long len);
@@ -29,7 +29,12 @@ int rb_is_local_name(VALUE name);
PUREFUNC(int rb_is_const_sym(VALUE sym));
PUREFUNC(int rb_is_attrset_sym(VALUE sym));
ID rb_make_internal_id(void);
+ID rb_make_temporary_id(size_t n);
+bool rb_obj_is_symbol_table(VALUE obj);
+void rb_sym_global_symbol_table_foreach_weak_reference(int (*callback)(VALUE *key, void *data), void *data);
void rb_gc_free_dsymbol(VALUE);
+int rb_static_id_valid_p(ID id);
+void rb_free_global_symbol_table(void);
#if __has_builtin(__builtin_constant_p)
#define rb_sym_intern_ascii_cstr(ptr) \