summaryrefslogtreecommitdiffstatshomepage
path: root/py/strtonum.h
diff options
context:
space:
mode:
authorxyb <xieyanbo@gmail.com>2014-01-14 21:39:05 +0800
committerxyb <xieyanbo@gmail.com>2014-01-14 21:39:05 +0800
commitc178ea471ee30f32439741181d30d6a89830aabf (patch)
treebbd572854f1491523ab70f122695f511c3d9c265 /py/strtonum.h
parent729e9cce7bd31d3f107a4d6e9498b0fa27119e22 (diff)
downloadmicropython-c178ea471ee30f32439741181d30d6a89830aabf.tar.gz
micropython-c178ea471ee30f32439741181d30d6a89830aabf.zip
Implemented int(str) in UNIX
Diffstat (limited to 'py/strtonum.h')
-rw-r--r--py/strtonum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/strtonum.h b/py/strtonum.h
new file mode 100644
index 0000000000..03565cca14
--- /dev/null
+++ b/py/strtonum.h
@@ -0,0 +1 @@
+long strtonum(const char *restrict s, int base);