mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
started with python binding
This commit is contained in:
10
bindings/py/pypcp/dll.py
Normal file
10
bindings/py/pypcp/dll.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from raw import *
|
||||
from static import *
|
||||
|
||||
from cffi import FFI
|
||||
|
||||
ffi = FFI()
|
||||
|
||||
libpcp = ffi.dlopen('libpcp1.so.0')
|
||||
|
||||
ffi.cdef("%s\n%s\n" % (STATIC, PCP_RAW_CODE))
|
||||
Reference in New Issue
Block a user