summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-random
diff options
context:
space:
mode:
authorcubicdaiya <[email protected]>2014-03-01 03:31:45 +0900
committercubicdaiya <[email protected]>2014-03-01 03:31:45 +0900
commit67de10bfcb9d9ff21e1aa678aff8afa10446b7c4 (patch)
tree440782e0ae519f5d0f82a8e68b76274aa0bd84a3 /mrbgems/mruby-random
parent9b65a0d5722c4f23a9b3390e4d9e4277a4881dea (diff)
downloadmruby-67de10bfcb9d9ff21e1aa678aff8afa10446b7c4.tar.gz
mruby-67de10bfcb9d9ff21e1aa678aff8afa10446b7c4.zip
use C style comments instead of C++ style comments
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
Diffstat (limited to 'mrbgems/mruby-random')
-rw-r--r--mrbgems/mruby-random/src/mt19937ar.c2
-rw-r--r--mrbgems/mruby-random/src/random.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/mrbgems/mruby-random/src/mt19937ar.c b/mrbgems/mruby-random/src/mt19937ar.c
index b237af56d..3de935232 100644
--- a/mrbgems/mruby-random/src/mt19937ar.c
+++ b/mrbgems/mruby-random/src/mt19937ar.c
@@ -8,7 +8,7 @@
#include "mt19937ar.h"
/* Period parameters */
-//#define N 624
+/* #define N 624 */
#define M 397
#define MATRIX_A 0x9908b0dfUL /* constant vector a */
#define UPPER_MASK 0x80000000UL /* most significant w-r bits */
diff --git a/mrbgems/mruby-random/src/random.h b/mrbgems/mruby-random/src/random.h
index 3dc5d4e77..af82d66ac 100644
--- a/mrbgems/mruby-random/src/random.h
+++ b/mrbgems/mruby-random/src/random.h
@@ -1,7 +1,7 @@
/*
-// random.h - Random module
-//
-// See Copyright Notice in mruby.h
+** random.h - Random module
+**
+** See Copyright Notice in mruby.h
*/
#ifndef RANDOM_H