aboutsummaryrefslogtreecommitdiffstats
path: root/doc/extension.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/extension.rdoc')
-rw-r--r--doc/extension.rdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index c2aff57ffc..1e157f824a 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -1161,6 +1161,14 @@ NIL_P(value) ::
Is +value+ nil?
+RB_INTEGER_TYPE_P(value) ::
+
+ Is +value+ an Integer?
+
+RB_FLOAT_TYPE_P(value) ::
+
+ Is +value+ a Float?
+
void Check_Type(VALUE value, int type) ::
Ensures +value+ is of the given internal +type+ or raises a TypeError