summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-13 04:38:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-13 04:38:01 +0000
commit35c6e6af5ba2c405a91dc6b9e4af833d0979ed22 (patch)
tree7f54dda0bcda0a58eb5229def03ce3015c98a2b5 /ruby.h
parent71d408a6c3298b229c0f1d2ff7159ca410a4c612 (diff)
str2cstr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ruby.h b/ruby.h
index 439bb1a..0cfd8f6 100644
--- a/ruby.h
+++ b/ruby.h
@@ -246,21 +246,21 @@ struct RFloat {
struct RString {
struct RBasic basic;
- unsigned int len;
+ int len;
char *ptr;
VALUE orig;
};
struct RArray {
struct RBasic basic;
- unsigned int len, capa;
+ int len, capa;
VALUE *ptr;
};
struct RRegexp {
struct RBasic basic;
struct re_pattern_buffer *ptr;
- unsigned int len;
+ int len;
char *str;
};
@@ -305,14 +305,14 @@ VALUE data_object_alloc _((VALUE,void*,void (*)(),void (*)()));
struct RStruct {
struct RBasic basic;
- unsigned int len;
+ int len;
VALUE *ptr;
};
struct RBignum {
struct RBasic basic;
char sign;
- unsigned int len;
+ int len;
unsigned short *digits;
};