summaryrefslogtreecommitdiffstatshomepage
path: root/unix/lexerunix.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-20 14:41:27 +0100
committerDamien <damien.p.george@gmail.com>2013-10-20 14:41:27 +0100
commita5185f4bc8f60fb2be82580e6f2d93fec53d0a33 (patch)
tree7864b4b9f64e87c5164f5b094c35601dc0a12743 /unix/lexerunix.h
parent68f59a96e3cfda47a8c903c1eb8a64cf78ecea4f (diff)
downloadmicropython-a5185f4bc8f60fb2be82580e6f2d93fec53d0a33.tar.gz
micropython-a5185f4bc8f60fb2be82580e6f2d93fec53d0a33.zip
Abstract out back-end stream functionality from lexer.
Diffstat (limited to 'unix/lexerunix.h')
-rw-r--r--unix/lexerunix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/lexerunix.h b/unix/lexerunix.h
new file mode 100644
index 0000000000..aa7631cb0b
--- /dev/null
+++ b/unix/lexerunix.h
@@ -0,0 +1,2 @@
+py_lexer_t *py_lexer_new_from_str_len(const char *src_name, const char *str, uint len, bool free_str);
+py_lexer_t *py_lexer_new_from_file(const char *filename);