annotate python/pydc/pydc.py @ 21:40a2c4198016
- working jdc (but with memleaks, currently)
- added example
author |
cslag |
date |
Wed, 30 Mar 2016 23:40:52 +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
|