summaryrefslogtreecommitdiffstats
path: root/st.h
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-20 06:48:04 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-20 06:48:04 +0000
commit2538a0ab13efe71d15cc39b7426f2ff1f77876c3 (patch)
tree0444d4d8af5637f732690a130b911808eb6d6842 /st.h
parenteb0c96510a072f35ddcaf418d560e30786e5cef1 (diff)
downloadruby-2538a0ab13efe71d15cc39b7426f2ff1f77876c3.tar.gz
ruby-2538a0ab13efe71d15cc39b7426f2ff1f77876c3.tar.xz
ruby-2538a0ab13efe71d15cc39b7426f2ff1f77876c3.zip
* st.h: define ST_DATA_T_DEFINED for portability.
* ext/syck/syck.h: add typedef, st_data_t for Ruby 1.6. * ext/syck/syck.c (syck_st_free_nodes): return int. * ext/syck/syck.c (syck_add_sym): cast the data to st_data_t to avoid error on bcc32. * ext/syck/syck.c (syck_lookup_sym): ditto. * ext/syck/syck.c (syck_free_parser): NULL is not integer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.h')
-rw-r--r--st.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.h b/st.h
index 888ca50e4..eebb45871 100644
--- a/st.h
+++ b/st.h
@@ -7,6 +7,7 @@
#define ST_INCLUDED
typedef long st_data_t;
+#define ST_DATA_T_DEFINED
typedef struct st_table st_table;