summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-01 18:06:28 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-01 18:06:28 (GMT)
commit6058eeaf0360cd5e56106db1f360a7edf3c91f1a (patch)
treeff1f9409bc8036390b592f1172fc3bae3ee79898 /transcode_data.h
parent3b090adf7c3e95997630e36074f621cc3fbc96f9 (diff)
* tool/transcode-tblgen.rb: record infos and BYTE_LOOKUPs as index of
word_array to avoid relocation. * transcode.c (transcode_restartable0): add word_array to get infos and BYTE_LOOKUPs. * transcode_data.h (BYTE_LOOKUP_INFO): change return type to uintptr_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode_data.h b/transcode_data.h
index a403916..78f72f8 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -19,7 +19,7 @@ typedef unsigned char base_element;
typedef uintptr_t BYTE_LOOKUP[2];
#define BYTE_LOOKUP_BASE(bl) (((uintptr_t *)(bl))[0])
-#define BYTE_LOOKUP_INFO(bl) ((const struct byte_lookup *const *)(((uintptr_t *)(bl))[1]))
+#define BYTE_LOOKUP_INFO(bl) (((uintptr_t *)(bl))[1])
#ifndef PType
/* data file needs to treat this as a pointer, to remove warnings */