Mercurial > pub > dyncall > bindings
annotate python/pydc/pydc.py @ 23:87fd9f34eaa0
- pre-C99 syntax fix
author | cslag |
---|---|
date | Sun, 22 May 2016 20:55:57 +0200 |
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 |