Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
python-handel
Commits
8bc71c3d
Commit
8bc71c3d
authored
Jul 03, 2018
by
Vincent Michel
Browse files
Support linux when loading the library
parent
ed34e67d
Changes
1
Hide whitespace changes
Inline
Side-by-side
handel/_cffi.py
View file @
8bc71c3d
"""CFFI binding."""
import
os
import
cffi
ffi
=
cffi
.
FFI
()
...
...
@@ -48,4 +49,4 @@ int xiaSetLogOutput(char *fileName);
void xiaGetVersionInfo(int *rel, int *min, int *maj, char *pretty);
"""
)
handel
=
ffi
.
dlopen
(
"
handel.dll
"
)
handel
=
ffi
.
dlopen
(
'
handel.dll
'
if
os
.
name
==
'nt'
else
'libhandel.so'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment