diff options
author | Yuce Tekol <yucetekol@gmail.com> | 2019-05-03 02:28:15 +0300 |
---|---|---|
committer | Yuce Tekol <yucetekol@gmail.com> | 2019-05-03 02:28:15 +0300 |
commit | 83130efe9fbb7a026f571e77b49bb57be45fe5b9 (patch) | |
tree | fd8fa60b658547751778737adb4b6804132ca0e0 /openbsd | |
parent | a0bd7adde20e1b89768b3784aeb9c03e851d7c70 (diff) | |
download | pyopenbsd-83130efe9fbb7a026f571e77b49bb57be45fe5b9.tar.gz |
dir layout
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/__init__.py | 2 | ||||
-rw-r--r-- | openbsd/openbsd_builder.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/__init__.py b/openbsd/__init__.py index 8810370..1aab185 100644 --- a/openbsd/__init__.py +++ b/openbsd/__init__.py @@ -1,7 +1,7 @@ import sys from cffi import FFI -from _openbsd import lib as _lib +from ._openbsd import lib as _lib __all__ = ["pledge", "unveil"] diff --git a/openbsd/openbsd_builder.py b/openbsd/openbsd_builder.py index 8ca0bc5..a8720c1 100644 --- a/openbsd/openbsd_builder.py +++ b/openbsd/openbsd_builder.py @@ -8,7 +8,7 @@ ffibuilder.cdef(''' char *strerror(int errnum); ''') -ffibuilder.set_source("_openbsd", +ffibuilder.set_source("openbsd._openbsd", """ #include <unistd.h> #include <string.h> |