Mercurial > pub > dyncall > bindings
annotate python/pydc/pydc.py @ 5:bf5625bb6f05
- brought python binding up to dc v0.9
author | cslag |
---|---|
date | Tue, 22 Mar 2016 01:49:34 +0100 |
parents | 0cfcc391201f |
children | ba47a3d709d7 |
rev | line source |
---|---|
0 | 1 import pydcext |
2 | |
3 def load(libpath): | |
4 return pydcext.load(libpath) | |
5 | |
6 def find(libhandle,symbol): | |
7 return pydcext.find(libhandle,symbol) | |
8 | |
9 def free(libhandle): | |
10 pydcext.free(libhandle) | |
11 | |
12 def call(funcptr,signature,*arguments): | |
13 return pydcext.call(funcptr,signature,arguments) | |
14 |