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

ruby-changes:32231

From: tmm1 <ko1@a...>
Date: Sat, 21 Dec 2013 06:07:07 +0900 (JST)
Subject: [ruby-changes:32231] tmm1:r44310 (trunk): fix typo: s/POWOR/POWER/

tmm1	2013-12-21 06:07:00 +0900 (Sat, 21 Dec 2013)

  New Revision: 44310

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

  Log:
    fix typo: s/POWOR/POWER/

  Modified files:
    trunk/vm_method.c
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 44309)
+++ vm_method.c	(revision 44310)
@@ -6,8 +6,8 @@ https://github.com/ruby/ruby/blob/trunk/vm_method.c#L6
 #define GLOBAL_METHOD_CACHE_SIZE 0x800
 #endif
 #define LSB_ONLY(x) ((x) & ~((x) - 1))
-#define POWOR_OF_2_P(x) ((x) == LSB_ONLY(x))
-#if !POWOR_OF_2_P(GLOBAL_METHOD_CACHE_SIZE)
+#define POWER_OF_2_P(x) ((x) == LSB_ONLY(x))
+#if !POWER_OF_2_P(GLOBAL_METHOD_CACHE_SIZE)
 # error GLOBAL_METHOD_CACHE_SIZE must be power of 2
 #endif
 #ifndef GLOBAL_METHOD_CACHE_MASK

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

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