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

ruby-changes:51300

From: k0kubun <ko1@a...>
Date: Sun, 27 May 2018 14:52:49 +0900 (JST)
Subject: [ruby-changes:51300] k0kubun:r63506 (trunk): st.c: remove redundant export declaration

k0kubun	2018-05-27 14:52:43 +0900 (Sun, 27 May 2018)

  New Revision: 63506

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63506

  Log:
    st.c: remove redundant export declaration
    
    rb_hash_bulk_insert is added to official C API in r63488. It's no longer
    exported only for MJIT.

  Modified files:
    trunk/st.c
Index: st.c
===================================================================
--- st.c	(revision 63505)
+++ st.c	(revision 63506)
@@ -2283,7 +2283,7 @@ st_insert_generic(st_table *tab, long ar https://github.com/ruby/ruby/blob/trunk/st.c#L2283
 
 /* Mimics ruby's { foo => bar } syntax. This function is placed here
    because it touches table internals and write barriers at once. */
-MJIT_FUNC_EXPORTED void
+void
 rb_hash_bulk_insert(long argc, const VALUE *argv, VALUE hash)
 {
     st_index_t n;

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

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