[前][次][番号順一覧][スレッド一覧]

ruby-changes:72092

From: Peter <ko1@a...>
Date: Wed, 8 Jun 2022 03:17:26 +0900 (JST)
Subject: [ruby-changes:72092] bf4684d999 (master): Remove duplicated prototype in header file

https://git.ruby-lang.org/ruby.git/commit/?id=bf4684d999

From bf4684d9992615b84781f0f688624c95e0ecaadb Mon Sep 17 00:00:00 2001
From: Peter Zhu <peter@p...>
Date: Tue, 7 Jun 2022 14:15:59 -0400
Subject: Remove duplicated prototype in header file

rb_imemo_new is defined again later in the file.
---
 internal/imemo.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/internal/imemo.h b/internal/imemo.h
index ea36c4514f..53d82eb20f 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -128,7 +128,6 @@ struct MEMO { https://github.com/ruby/ruby/blob/trunk/internal/imemo.h#L128
    MEMO_FOR(type, value))
 
 typedef struct rb_imemo_tmpbuf_struct rb_imemo_tmpbuf_t;
-VALUE rb_imemo_new(enum imemo_type type, VALUE v1, VALUE v2, VALUE v3, VALUE v0);
 rb_imemo_tmpbuf_t *rb_imemo_tmpbuf_parser_heap(void *buf, rb_imemo_tmpbuf_t *old_heap, size_t cnt);
 struct vm_ifunc *rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int max_argc);
 void rb_strterm_mark(VALUE obj);
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]