summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-09-15 11:24:23 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-09-16 08:35:45 -0400
commit809dfb861ef0599c2572f10236aaf25c2093f6af (patch)
tree7777639f55c26cd3f2e1f299d068c4ee17bcbc8c /internal
parenta6a5fe322289c6daf1b1a8a96f4f244ed1f0e814 (diff)
Don't export rb_imemo_new
Nothing needs rb_imemo_new exported anymore.
Diffstat (limited to 'internal')
-rw-r--r--internal/imemo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/imemo.h b/internal/imemo.h
index eee3dd7185..3b91ef4b81 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -131,6 +131,7 @@ struct MEMO {
#ifndef RUBY_RUBYPARSER_H
typedef struct rb_imemo_tmpbuf_struct rb_imemo_tmpbuf_t;
#endif
+VALUE rb_imemo_new(enum imemo_type type, VALUE v0, size_t size);
VALUE rb_imemo_tmpbuf_new(void);
struct vm_ifunc *rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int max_argc);
static inline enum imemo_type imemo_type(VALUE imemo);
@@ -147,7 +148,6 @@ void rb_imemo_mark_and_move(VALUE obj, bool reference_updating);
void rb_imemo_free(VALUE obj);
RUBY_SYMBOL_EXPORT_BEGIN
-VALUE rb_imemo_new(enum imemo_type type, VALUE v0, size_t size);
const char *rb_imemo_name(enum imemo_type type);
RUBY_SYMBOL_EXPORT_END