summaryrefslogtreecommitdiff
path: root/py/lexerunix.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-12-29 18:01:01 +0000
committerDamien <damien.p.george@gmail.com>2013-12-29 18:01:01 +0000
commitde690d128bbec4f53e8a7d6149738a6facae4382 (patch)
tree817a4c8ee94b7576dbfc47cd9a5de67f7c741109 /py/lexerunix.h
parentb86e3f92932ec543788dc66948519d770d0e5bb0 (diff)
Add unix-cpy, used to test Micro Python byte code against CPython.
Diffstat (limited to 'py/lexerunix.h')
-rw-r--r--py/lexerunix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/lexerunix.h b/py/lexerunix.h
new file mode 100644
index 000000000..d86f202d5
--- /dev/null
+++ b/py/lexerunix.h
@@ -0,0 +1,2 @@
+mp_lexer_t *mp_lexer_new_from_str_len(const char *src_name, const char *str, uint len, bool free_str);
+mp_lexer_t *mp_lexer_new_from_file(const char *filename);