annotate python/pydc/pydc.py @ 32:2089026debae
- allowing 'None' as arg for pydc.load, effectively resulting in dlLoadLibrary(NULL), which is own process
author |
Tassilo Philipp |
date |
Sat, 11 Apr 2020 18:02:33 +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
|