view python/pydc/pydc.py @ 43:1086ca649715

- fixed use after free issue with string handling (keeping strings as copy until after call)
author Tassilo Philipp
date Wed, 15 Apr 2020 21:58:13 +0200
parents ba47a3d709d7
children
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 get_path(libhandle):
  return pydcext.get_path(libhandle)

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