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

ruby-changes:6697

From: nobu <ko1@a...>
Date: Fri, 25 Jul 2008 19:51:10 +0900 (JST)
Subject: [ruby-changes:6697] Ruby:r18213 (trunk): * regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.

nobu	2008-07-25 19:50:52 +0900 (Fri, 25 Jul 2008)

  New Revision: 18213

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18213

  Log:
    * regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.

  Modified files:
    trunk/ChangeLog
    trunk/regint.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18212)
+++ ChangeLog	(revision 18213)
@@ -1,3 +1,7 @@
+Fri Jul 25 19:50:49 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.
+
 Fri Jul 25 15:52:40 2008  Koichi Sasada  <ko1@a...>
 
 	* vm.c (vm_invoke_proc): skip setting safe_level if
Index: regint.h
===================================================================
--- regint.h	(revision 18212)
+++ regint.h	(revision 18213)
@@ -85,6 +85,10 @@
 /* escape other system UChar definition */
 #ifndef RUBY_DEFINES_H
 #include "ruby/ruby.h"
+#undef xmalloc
+#undef xrealloc
+#undef xcalloc
+#undef xfree
 #endif
 #ifdef ONIG_ESCAPE_UCHAR_COLLISION
 #undef ONIG_ESCAPE_UCHAR_COLLISION

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

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