Source

pyd / examples / misc / ctypes / common.py

1
2
3
4
5
6

dll = None
LIST = []
def reg_fun(nom, fun):
    LIST.append(fun)
    dll.pyd_reg_fun(nom, fun)