summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-22 10:07:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-22 10:07:53 +0000
commit2f99f3b41a4ad5a4efafb0b71784bd05b99d9bba (patch)
treeec57ed897c38dd660b816f97d30bd762e5fedf44 /ruby.h
parent7a249d7acca6f78607e45282e2a0d9be03b9acfb (diff)
use STR2CSTR
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@46 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 0c1d01c..a3e3f47 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) {\