summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
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 /src/object.c
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 'src/object.c')
-rw-r--r--src/object.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/object.c b/src/object.c
index c6b72640f..1f0d903f2 100644
--- a/src/object.c
+++ b/src/object.c
@@ -361,7 +361,7 @@ static const struct types {
unsigned char type;
const char *name;
} builtin_types[] = {
-// {MRB_TT_NIL, "nil"},
+/* {MRB_TT_NIL, "nil"}, */
{MRB_TT_FALSE, "false"},
{MRB_TT_TRUE, "true"},
{MRB_TT_FIXNUM, "Fixnum"},
@@ -377,12 +377,12 @@ static const struct types {
{MRB_TT_HASH, "Hash"},
{MRB_TT_STRING, "String"},
{MRB_TT_RANGE, "Range"},
-// {MRB_TT_BIGNUM, "Bignum"},
+/* {MRB_TT_BIGNUM, "Bignum"}, */
{MRB_TT_FILE, "File"},
{MRB_TT_DATA, "Data"}, /* internal use: wrapped C pointers */
-// {MRB_TT_VARMAP, "Varmap"}, /* internal use: dynamic variables */
-// {MRB_TT_NODE, "Node"}, /* internal use: syntax tree node */
-// {MRB_TT_UNDEF, "undef"}, /* internal use: #undef; should not happen */
+/* {MRB_TT_VARMAP, "Varmap"}, */ /* internal use: dynamic variables */
+/* {MRB_TT_NODE, "Node"}, */ /* internal use: syntax tree node */
+/* {MRB_TT_UNDEF, "undef"}, */ /* internal use: #undef; should not happen */
{-1, 0}
};