зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
1cda105886
Коммит
0675246ba6
|
@ -1,3 +1,10 @@
|
|||
Mon Sep 15 11:11:04 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* transcode_data.h (rb_transcoder): resetsize_func and resetstate_func
|
||||
also returns ssize_t.
|
||||
|
||||
* enc/trans/iso2022.trans: follow the type change.
|
||||
|
||||
Mon Sep 15 10:28:10 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* test/matrix/test_matrix.rb (setup): typo.
|
||||
|
|
|
@ -163,7 +163,7 @@ fun_so_iso2022jp_encoder(void *statep, const unsigned char *s, size_t l, unsigne
|
|||
return o - output0;
|
||||
}
|
||||
|
||||
static int
|
||||
static ssize_t
|
||||
iso2022jp_encoder_reset_sequence_size(void *statep)
|
||||
{
|
||||
unsigned char *sp = statep;
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче