Skip to content

Commit f5cdf5e

Browse files
committed
ffilib: Add libc() convenience function to load libc.
1 parent eba0c0a commit f5cdf5e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ffilib/ffilib.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ def libs():
2727
except OSError as e:
2828
err = e
2929
raise err
30+
31+
def libc():
32+
return open("libc", 6)

ffilib/metadata.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dist_name = ffilib
22
srctype = micropython-lib
33
type = module
4-
version = 0.1.0
4+
version = 0.1.1
55
author = Damien George
66
desc = MicroPython FFI helper module
77
long_desc = MicroPython FFI helper module to easily interface with underlying shared libraries

ffilib/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
setup(name='micropython-ffilib',
9-
version='0.1.0',
9+
version='0.1.1',
1010
description='MicroPython FFI helper module',
1111
long_description='MicroPython FFI helper module to easily interface with underlying shared libraries',
1212
url='https://github.com/micropython/micropython/issues/405',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy