diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-22 17:49:15 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-22 17:49:15 +0000 |
commit | 2613ffde431594f3fe0562042c32105623fbe4dc (patch) | |
tree | 7b12ffbe18867132e665b66a44f6f72bfcc72e6f /py/strtonum.h | |
parent | 0379b55ab036921eaee96f07385d2329d8de97fd (diff) | |
download | micropython-2613ffde431594f3fe0562042c32105623fbe4dc.tar.gz micropython-2613ffde431594f3fe0562042c32105623fbe4dc.zip |
py: Rename strtonum to mp_strtonum.
strtonum clashes with BSD function of same name, and our version is
different so warrants a unique name. Addresses Issue #305.
Diffstat (limited to 'py/strtonum.h')
-rw-r--r-- | py/strtonum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/strtonum.h b/py/strtonum.h new file mode 100644 index 0000000000..10b6732edb --- /dev/null +++ b/py/strtonum.h @@ -0,0 +1 @@ +long mp_strtonum(const char *restrict s, int base); |