[Groonga-commit] ranguba/rroonga at d22811a [master] use `rb_str_intern()` inner RB_GRN_INTERN

Back to archive index

cosmo0920 null+****@clear*****
Mon Sep 29 21:02:47 JST 2014


cosmo0920	2014-09-29 21:02:47 +0900 (Mon, 29 Sep 2014)

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

  Message:
    use `rb_str_intern()` inner RB_GRN_INTERN
    
    Because it is still used `rb_intern()`.

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

  Modified: ext/groonga/rb-grn.h (+1 -1)
===================================================================
--- ext/groonga/rb-grn.h    2014-09-29 08:55:54 +0900 (83074fb)
+++ ext/groonga/rb-grn.h    2014-09-29 21:02:47 +0900 (4675850)
@@ -586,7 +586,7 @@ VALUE          rb_grn_column_expression_builder_build
                                                     (VALUE self);
 
 
-#define RB_GRN_INTERN(string)         (rb_id2sym(rb_intern(string)))
+#define RB_GRN_INTERN(string)         (rb_str_intern(rb_str_new2(string)))
 
 #define RVAL2CBOOL(object)            (RTEST(object))
 #define CBOOL2RVAL(boolean)           ((boolean) ? Qtrue : Qfalse)
-------------- next part --------------
HTML����������������������������...
Download 



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