[Groonga-commit] groonga/groonga at 576dfa8 [master] mrb: use meaningful name instead of general "ptr"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 10 22:02:10 JST 2013


Kouhei Sutou	2013-10-10 22:02:10 +0900 (Thu, 10 Oct 2013)

  New Revision: 576dfa84302d845d2036aba9084b6038063cb0aa
  https://github.com/groonga/groonga/commit/576dfa84302d845d2036aba9084b6038063cb0aa

  Message:
    mrb: use meaningful name instead of general "ptr"

  Modified files:
    lib/mrb/mrb_expr.c

  Modified: lib/mrb/mrb_expr.c (+3 -3)
===================================================================
--- lib/mrb/mrb_expr.c    2013-10-10 21:59:01 +0900 (d8539f9)
+++ lib/mrb/mrb_expr.c    2013-10-10 22:02:10 +0900 (1b8e037)
@@ -434,11 +434,11 @@ mrb_grn_scan_info_initialize(mrb_state *mrb, mrb_value self)
 static mrb_value
 mrb_grn_expr_code_initialize(mrb_state *mrb, mrb_value self)
 {
-  mrb_value mrb_ptr;
+  mrb_value mrb_code;
 
-  mrb_get_args(mrb, "o", &mrb_ptr);
+  mrb_get_args(mrb, "o", &mrb_code);
   DATA_TYPE(self) = &mrb_grn_expr_code_type;
-  DATA_PTR(self) = mrb_cptr(mrb_ptr);
+  DATA_PTR(self) = mrb_cptr(mrb_code);
   return self;
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



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