summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby.h b/ruby.h
index 0c1d01c702..a3e3f47dc9 100644
--- a/ruby.h
+++ b/ruby.h
@@ -165,6 +165,9 @@ int num2int _((VALUE));
double num2dbl _((VALUE));
#define NUM2DBL(x) num2dbl((VALUE)(x))
+char *str2cstr _((VALUE));
+#define STR2CSTR(x) str2cstr((VALUE)(x))
+
VALUE rb_newobj _((void));
#define NEWOBJ(obj,type) type *obj = (type*)rb_newobj()
#define OBJSETUP(obj,c,t) {\