ffilib: Add libc() convenience function to load libc.

pull/29/merge
Paul Sokolovsky 2015-06-06 22:23:58 +03:00
rodzic eba0c0ad8d
commit f5cdf5e89d
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -27,3 +27,6 @@ def open(name, maxver=10, extra=()):
except OSError as e:
err = e
raise err
def libc():
return open("libc", 6)

Wyświetl plik

@ -1,7 +1,7 @@
dist_name = ffilib
srctype = micropython-lib
type = module
version = 0.1.0
version = 0.1.1
author = Damien George
desc = MicroPython FFI helper module
long_desc = MicroPython FFI helper module to easily interface with underlying shared libraries

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-ffilib',
version='0.1.0',
version='0.1.1',
description='MicroPython FFI helper module',
long_description='MicroPython FFI helper module to easily interface with underlying shared libraries',
url='https://github.com/micropython/micropython/issues/405',