diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-05-18 14:41:25 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-20 09:29:22 +0100 |
commit | 3ad94d6072555955a796c8c72a526c4fdff86711 (patch) | |
tree | c845f32926a12105b6929b422c3b66c55f098481 /py/misc.h | |
parent | 97ce883217c646a2d2bc9bf6bfce6e2eaa731dae (diff) |
extmod: Add ubinascii.unhexlify
This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
Diffstat (limited to 'py/misc.h')
-rw-r--r-- | py/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -127,6 +127,7 @@ bool unichar_isupper(unichar c); bool unichar_islower(unichar c); unichar unichar_tolower(unichar c); unichar unichar_toupper(unichar c); +mp_uint_t unichar_xdigit_value(unichar c); mp_uint_t unichar_charlen(const char *str, mp_uint_t len); #define UTF8_IS_NONASCII(ch) ((ch) & 0x80) #define UTF8_IS_CONT(ch) (((ch) & 0xC0) == 0x80) |