… | |
… | |
91 | typedef void profile_type; |
91 | typedef void profile_type; |
92 | |
92 | |
93 | static profile_type *cur_profile, *default_profile; |
93 | static profile_type *cur_profile, *default_profile; |
94 | static SV *buf_sv; // encoding buffer |
94 | static SV *buf_sv; // encoding buffer |
95 | static U8 *buf, *cur, *end; // buffer start, current, end |
95 | static U8 *buf, *cur, *end; // buffer start, current, end |
|
|
96 | |
|
|
97 | #if PERL_VERSION < 18 |
|
|
98 | # define utf8_to_uvchr_buf(s,e,l) utf8_to_uvchr (s, l) |
|
|
99 | #endif |
96 | |
100 | |
97 | #if __GNUC__ >= 3 |
101 | #if __GNUC__ >= 3 |
98 | # define expect(expr,value) __builtin_expect ((expr), (value)) |
102 | # define expect(expr,value) __builtin_expect ((expr), (value)) |
99 | # define INLINE static inline |
103 | # define INLINE static inline |
100 | #else |
104 | #else |