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

ruby-changes:61202

From: Nobuyoshi <ko1@a...>
Date: Tue, 12 May 2020 10:11:06 +0900 (JST)
Subject: [ruby-changes:61202] 3fcf7f0271 (master): win32/mkexports.rb: do not export internal symbols

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

From 3fcf7f0271a3f29f91b6bda60e518f0fcb026eda Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 10 May 2020 14:54:16 +0900
Subject: win32/mkexports.rb: do not export internal symbols

Functions using `rb_thread_t` and `rb_execution_context_t` are
internal use only.

diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 336a757..dfbb175 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -7,7 +7,7 @@ module RbConfig https://github.com/ruby/ruby/blob/trunk/win32/mkexports.rb#L7
 end
 
 class Exports
-  PrivateNames = /(?:Init_|InitVM_|ruby_static_id_|DllMain\b)/
+  PrivateNames = /(?:Init_|InitVM_|ruby_static_id_|threadptr|_ec_|DllMain\b)/
 
   @@subclass = []
   def self.inherited(klass)
-- 
cgit v0.10.2


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

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