diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-01 16:22:49 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-01 16:22:49 +0000 |
commit | 752e053a1df0446b6ca20815b1976dd322d736bd (patch) | |
tree | 7ece75f0de59fd63b1263145479927001796a1c3 /enc/trans/newline.trans | |
parent | 2ae7b0328e9bf0caf16411eabc924effedccfb5c (diff) | |
download | ruby-752e053a1df0446b6ca20815b1976dd322d736bd.tar.gz |
* transcode_data.h (BYTE_LOOKUP): change to uintptr_t array.
(BYTE_LOOKUP_BASE): follow the type change.
(BYTE_LOOKUP_INFO): ditto.
(PType): ditto.
(rb_transcoding): ditto.
* tool/transcode-tblgen.rb: follow the type change.
* transcode.c: ditto.
* enc/trans/newline.trans: ditto.
* enc/trans/iso2022.trans: ditto.
* enc/trans/utf_16_32.trans: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans/newline.trans')
-rw-r--r-- | enc/trans/newline.trans | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/enc/trans/newline.trans b/enc/trans/newline.trans index 5d6c9bf054..536cba108c 100644 --- a/enc/trans/newline.trans +++ b/enc/trans/newline.trans @@ -54,7 +54,7 @@ fun_so_universal_newline(rb_transcoding* t, const unsigned char* s, size_t l, un static const rb_transcoder rb_universal_newline = { - "universal_newline", "", &universal_newline, + "universal_newline", "", universal_newline, 1, /* input_unit_length */ 1, /* max_input */ 1, /* max_output */ @@ -64,7 +64,7 @@ rb_universal_newline = { static const rb_transcoder rb_crlf_newline = { - "", "crlf_newline", &crlf_newline, + "", "crlf_newline", crlf_newline, 1, /* input_unit_length */ 1, /* max_input */ 2, /* max_output */ @@ -74,7 +74,7 @@ rb_crlf_newline = { static const rb_transcoder rb_cr_newline = { - "", "cr_newline", &cr_newline, + "", "cr_newline", cr_newline, 1, /* input_unit_length */ 1, /* max_input */ 1, /* max_output */ |