summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-15 02:11:50 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-15 02:11:50 (GMT)
commit0675246ba6456ee4bad43d0fa13b401ce92d6309 (patch)
treeb7c5c016c8137baf64fec69fa65b4abad365be7b /transcode_data.h
parent1cda1058865c87d076088bb1d441891f03180e5f (diff)
* transcode_data.h (rb_transcoder): resetsize_func and resetstate_func
also returns ssize_t. * enc/trans/iso2022.trans: follow the type change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/transcode_data.h b/transcode_data.h
index ab9a101..5566e7b 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -87,8 +87,8 @@ struct rb_transcoder {
ssize_t (*func_io)(void*, VALUE, const unsigned char*, size_t); /* info -> output */
ssize_t (*func_so)(void*, const unsigned char*, size_t, unsigned char*, size_t); /* start -> output */
ssize_t (*finish_func)(void*, unsigned char*, size_t); /* -> output */
- int (*resetsize_func)(void*); /* -> len */
- int (*resetstate_func)(void*, unsigned char*, size_t); /* -> output */
+ ssize_t (*resetsize_func)(void*); /* -> len */
+ ssize_t (*resetstate_func)(void*, unsigned char*, size_t); /* -> output */
};
void rb_declare_transcoder(const char *enc1, const char *enc2, const char *lib);