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

ruby-changes:56000

From: Nobuyoshi <ko1@a...>
Date: Tue, 4 Jun 2019 19:07:30 +0900 (JST)
Subject: [ruby-changes:56000] Nobuyoshi Nakada: c8b001858e (trunk): Revert "marshal.c: new functions for extensions"

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

From c8b001858ed6911db4285d239193bc2384ff6ce0 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 4 Jun 2019 19:06:19 +0900
Subject: Revert "marshal.c: new functions for extensions"

This reverts a commit miss, 24a96a0228ccf355826644a9daad69e11b67b53b.

diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index bf8c896..737c98b 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -598,8 +598,6 @@ void rb_fd_fix_cloexec(int fd); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L598
 /* marshal.c */
 VALUE rb_marshal_dump(VALUE, VALUE);
 VALUE rb_marshal_load(VALUE);
-VALUE rb_marshal_dump_limited(VALUE obj, VALUE port, int level);
-VALUE rb_marshal_load_with_proc(VALUE port, VALUE proc);
 void rb_marshal_define_compat(VALUE newclass, VALUE oldclass, VALUE (*dumper)(VALUE), VALUE (*loader)(VALUE, VALUE));
 /* numeric.c */
 NORETURN(void rb_num_zerodiv(void));
diff --git a/marshal.c b/marshal.c
index 446f91c..73d36e2 100644
--- a/marshal.c
+++ b/marshal.c
@@ -106,6 +106,8 @@ typedef struct { https://github.com/ruby/ruby/blob/trunk/marshal.c#L106
 
 static st_table *compat_allocator_tbl;
 static VALUE compat_allocator_tbl_wrapper;
+static VALUE rb_marshal_dump_limited(VALUE obj, VALUE port, int limit);
+static VALUE rb_marshal_load_with_proc(VALUE port, VALUE proc);
 
 static int
 mark_marshal_compat_i(st_data_t key, st_data_t value)
-- 
cgit v0.10.2


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

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