aboutsummaryrefslogtreecommitdiffstats
path: root/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index cccd4af365..930947086d 100644
--- a/vm.h
+++ b/vm.h
@@ -245,6 +245,9 @@ default: \
} \
}
+#define RUBYVM_CFUNC_FRAME_P(cfp) \
+ ((cfp)->magic == FRAME_MAGIC_CFUNC)
+
/*
* Excception
*/