Fix to remove compile warning with VHDL

This commit is contained in:
Simon Southwell 2024-01-27 14:52:10 +00:00
commit 2a1285fee5
6 changed files with 17 additions and 14 deletions

View file

@ -33,12 +33,12 @@ class PyVProcClass :
api = None
# Constructor
def __init__(self, nodeIn, cmodulename = "./PyVproc.so") :
def __init__(self, nodeIn, cmodulename = "./PyVProc.so") :
self.node = nodeIn
self.api = self.__loadPyModule(cmodulename)
# Method to load Python C module
def __loadPyModule(self, name = "./PyVproc.so") :
def __loadPyModule(self, name = "./PyVProc.so") :
module = CDLL(name)
module.argtypes = [c_int32]