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