diff --git a/ffilib/ffilib.py b/ffilib/ffilib.py index df9222ca..5def0d5b 100644 --- a/ffilib/ffilib.py +++ b/ffilib/ffilib.py @@ -27,3 +27,6 @@ def open(name, maxver=10, extra=()): except OSError as e: err = e raise err + +def libc(): + return open("libc", 6) diff --git a/ffilib/metadata.txt b/ffilib/metadata.txt index aeaccb0b..2f814e90 100644 --- a/ffilib/metadata.txt +++ b/ffilib/metadata.txt @@ -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 diff --git a/ffilib/setup.py b/ffilib/setup.py index eb83f4ac..21689882 100644 --- a/ffilib/setup.py +++ b/ffilib/setup.py @@ -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',