summaryrefslogtreecommitdiff
path: root/probes_helper.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 15:25:28 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 15:25:28 (GMT)
commit66fd9d44d87240164588b42c887b6e3d6ee99308 (patch)
treef2b2fee9d1c6f273e07c32f7f84dc5bb5d7c7ba8 /probes_helper.h
parent82b1bfe417120de96737de88f406e1b877cef5f7 (diff)
adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'probes_helper.h')
-rw-r--r--probes_helper.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/probes_helper.h b/probes_helper.h
index 13bcbdb..91514b3 100644
--- a/probes_helper.h
+++ b/probes_helper.h
@@ -23,7 +23,7 @@ VALUE rb_class_path_no_cache(VALUE _klass);
else if (FL_TEST(_klass, FL_SINGLETON)) { \
_klass = rb_iv_get(_klass, "__attached__"); \
} \
- switch(TYPE(_klass)) { \
+ switch (TYPE(_klass)) { \
case T_CLASS: \
case T_ICLASS: \
case T_MODULE: \
@@ -31,7 +31,8 @@ VALUE rb_class_path_no_cache(VALUE _klass);
VALUE _name = rb_class_path_no_cache(_klass); \
if (!NIL_P(_name)) { \
classname = StringValuePtr(_name); \
- } else { \
+ } \
+ else { \
classname = "<unknown>"; \
} \
methodname = rb_id2name(_id); \