aboutsummaryrefslogtreecommitdiffstats
path: root/transcode_data.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-26 13:03:50 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-26 13:03:50 +0000
commit0881a39acd7d3dfa6cdbea76f80dabd939996807 (patch)
treec34f3e6388b8fd1e78704d1bd9b583a5822a52ef /transcode_data.h
parent67798d11b8114b4528df537a425cc83daa84f728 (diff)
downloadruby-0881a39acd7d3dfa6cdbea76f80dabd939996807.tar.gz
* transcode.c (ASIS): added for multi byte direct map.
* transcode.c (transcode_restartable0): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/transcode_data.h b/transcode_data.h
index 0966b7dcad..9a09e18652 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -36,6 +36,7 @@
#define FUNso (PType 0x0F) /* function from start to output */
#define STR1 (PType 0x11) /* string 4 <= len <= 259 bytes: 1byte length + content */
#define GB4bt (PType 0x12) /* GB18030 four bytes payload */
+#define ASIS (PType 0x13) /* multi byte direct map */
#define STR1_LENGTH(byte_addr) (unsigned int)(*(byte_addr) + 4)
#define STR1_BYTEINDEX(w) ((w) >> 6)