multi_tools/cpp/class_extension.py
def search_method(dll: ctypes.CDLL, name: str):
    """
    Utility for searching specific functions inside a .dll library.
    """
    if hasattr(dll, name):
        return getattr(dll, name)
    raise ReferenceError(f"Failed to solve external reference '{name}' in library {dll}.")

    Utility for searching specific functions inside a .dll library.
    
Utility for searching specific functions inside a .dll library.
Utility for searching specific functions inside a . dll library .
def search_method(dll: ctypes.CDLL, name: str):
    if hasattr(dll, name):
        return getattr(dll, name)
    raise ReferenceError(f"Failed to solve external reference '{name}' in library {dll}.")
def search_method ( dll : ctypes . CDLL , name : str ) : if hasattr ( dll , name ) : return getattr ( dll , name ) raise ReferenceError ( f"Failed to solve external reference '{name}' in library {dll}." )
Utility for searching specific functions inside a .dll library.
Utility for searching specific functions inside a . dll library .
"""
    Utility for searching specific functions inside a .dll library.
    """
dll
ctypes.CDLL
name
str