summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-05 03:34:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-05 03:34:52 +0000
commitb84d31c524093f91932813a09853ab417f121dff (patch)
treec155c8860557ce05631ab53e9e095736dbecaa8f /transcode_data.h
parent578534bdda95934934da30503463a206bb0568a6 (diff)
* transcode_data.h (TRANSCODE_ERROR): common transcode failure
exception, would be changed later. * enc/trans/japanese.c (UNSUPPORTED_MODE): unsupported mode transition exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/transcode_data.h b/transcode_data.h
index cdeb5fc..3fecaf6 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -83,4 +83,6 @@ typedef struct rb_transcoder {
void rb_declare_transcoder(const char *enc1, const char *enc2, const char *lib);
void rb_register_transcoder(const rb_transcoder *);
+#define TRANSCODE_ERROR rb_eRuntimeError /*change exception*/
+
#endif /* RUBY_TRANSCODE_DATA_H */