view python/pydc/pydc.py @ 44:0f86a5ecfe61

- python: allow None to be passed for 'p'ointers, always passing NULL
author Tassilo Philipp
date Tue, 27 Oct 2020 18:44:18 +0100
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)