summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 16:31:14 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 16:31:14 (GMT)
commitc359b80127d4eb5326d5a76e2d94098ed3879d80 (patch)
tree4e810524256dc53ec8dfdff57b11aa2b6d0b068b /transcode_data.h
parente64711977b6a0d8f4c5c6caf8fffec129d27ce68 (diff)
comment updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19107 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 8442355..bf1b6df 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -79,8 +79,8 @@ struct rb_transcoder {
int max_output;
rb_transcoder_stateful_type_t stateful_type;
size_t state_size;
- int (*state_init_func)(void*); /* 0:success !=0:failure(errno) */
- int (*state_fini_func)(void*); /* 0:success !=0:failure(errno) */
+ int (*state_init_func)(void*); /* ret==0:success ret!=0:failure(errno) */
+ int (*state_fini_func)(void*); /* ret==0:success ret!=0:failure(errno) */
VALUE (*func_ii)(void*, VALUE); /* info -> info */
VALUE (*func_si)(void*, const unsigned char*, size_t); /* start -> info */
int (*func_io)(void*, VALUE, const unsigned char*); /* info -> output */