Function(PyType type, DynamicLibrary.Symbol sym) { super(type); this.library = sym.library; this.name = sym.name; this.pointer = sym; this.restype = type.__getattr__("_restype"); }
Function(PyType type, Pointer address) { super(type); this.library = null; this.name = "<anonymous>"; this.pointer = address; this.restype = type.__getattr__("_restype"); }