view 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
line wrap: on
line source

import pydcext

def load(libpath):
  return pydcext.load(libpath)

def find(libhandle,symbol):
  return pydcext.find(libhandle,symbol)

def free(libhandle):
  pydcext.free(libhandle)

def call(funcptr,signature,*arguments):
  return pydcext.call(funcptr,signature,arguments)