kopia lustrzana https://github.com/micropython/micropython-lib
ffilib: Add libc() convenience function to load libc.
rodzic
eba0c0ad8d
commit
f5cdf5e89d
|
@ -27,3 +27,6 @@ def open(name, maxver=10, extra=()):
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
err = e
|
err = e
|
||||||
raise err
|
raise err
|
||||||
|
|
||||||
|
def libc():
|
||||||
|
return open("libc", 6)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
dist_name = ffilib
|
dist_name = ffilib
|
||||||
srctype = micropython-lib
|
srctype = micropython-lib
|
||||||
type = module
|
type = module
|
||||||
version = 0.1.0
|
version = 0.1.1
|
||||||
author = Damien George
|
author = Damien George
|
||||||
desc = MicroPython FFI helper module
|
desc = MicroPython FFI helper module
|
||||||
long_desc = MicroPython FFI helper module to easily interface with underlying shared libraries
|
long_desc = MicroPython FFI helper module to easily interface with underlying shared libraries
|
||||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
setup(name='micropython-ffilib',
|
setup(name='micropython-ffilib',
|
||||||
version='0.1.0',
|
version='0.1.1',
|
||||||
description='MicroPython FFI helper module',
|
description='MicroPython FFI helper module',
|
||||||
long_description='MicroPython FFI helper module to easily interface with underlying shared libraries',
|
long_description='MicroPython FFI helper module to easily interface with underlying shared libraries',
|
||||||
url='https://github.com/micropython/micropython/issues/405',
|
url='https://github.com/micropython/micropython/issues/405',
|
||||||
|
|
Ładowanie…
Reference in New Issue