[Groonga-commit] ranguba/rroonga at bc92302 [master] rb-grn.h: add rb_to_symbol() backward compatibility macro

Back to archive index

cosmo0920 null+****@clear*****
Mon Sep 29 01:58:59 JST 2014


cosmo0920	2014-09-29 01:58:59 +0900 (Mon, 29 Sep 2014)

  New Revision: bc923021d8a85578ce4715ea89713cf8ffd3f0e1
  https://github.com/ranguba/rroonga/commit/bc923021d8a85578ce4715ea89713cf8ffd3f0e1

  Message:
    rb-grn.h: add rb_to_symbol() backward compatibility macro

  Modified files:
    ext/groonga/rb-grn.h

  Modified: ext/groonga/rb-grn.h (+2 -2)
===================================================================
--- ext/groonga/rb-grn.h    2014-09-29 01:52:50 +0900 (7444a3e)
+++ ext/groonga/rb-grn.h    2014-09-29 01:58:59 +0900 (916f684)
@@ -44,8 +44,8 @@
 #  define rb_sym2str(name) (rb_id2name(SYM2ID(name)))
 #endif
 
-#ifndef HAVE_RB_STR2SYM
-#  define rb_str2sym(name) (ID2SYM(rb_intern(name)))
+#ifndef HAVE_RB_TO_SYMBOL
+#  define rb_to_symbol(name) (ID2SYM(name))
 #endif
 
 #include <groonga.h>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index