summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-27 17:20:29 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-27 17:20:29 +0000
commitdbe85f1ef0c7a13da7c6abfbd9535d42dfb3ba0e (patch)
tree5092d13cd612abad7d4bb8b988ec82c09ce4eeb2 /st.h
parentbaf3f1cbacd9846610643e5a6872774d0430f24c (diff)
* string.c (rb_str_chomp_bang): defer rb_str_modify() to actual
modify point. other methods, replace, tr, delete, squeeze, lstrip, and rstrip as well. * string.c (rb_str_rstrip_bang): remove trailing '\0' at the end of string. * string.c (rb_str_lstrip_bang): do not strip '\0' from the left. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.h')
-rw-r--r--st.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.h b/st.h
index eebb458712..bbb4306abf 100644
--- a/st.h
+++ b/st.h
@@ -6,7 +6,7 @@
#define ST_INCLUDED
-typedef long st_data_t;
+typedef unsigned long st_data_t;
#define ST_DATA_T_DEFINED
typedef struct st_table st_table;