浏览代码

Revert "Remove experimental change unintentionally included in commit f001dfc8"

This reverts commit e45d120f218206cd44e3c5aa31b23096183e6c65.
Andor Goetzendorff 6 年之前
父节点
当前提交
b10dc5747b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      port/PyAssimp/pyassimp/helper.py

+ 3 - 3
port/PyAssimp/pyassimp/helper.py

@@ -192,9 +192,9 @@ def try_load_functions(library_path, dll):
 
 
     # library found!
     # library found!
     from .structs import Scene, ExportDataBlob
     from .structs import Scene, ExportDataBlob
-    load.restype = ctype.POINTER(Scene)
-    load_mem.restype = ctype.POINTER(Scene)
-    export2blob.restype = ctype.POINTER(ExportDataBlob)
+    load.restype = ctypes.POINTER(Scene)
+    load_mem.restype = ctypes.POINTER(Scene)
+    export2blob.restype = ctypes.POINTER(ExportDataBlob)
     return (library_path, load, load_mem, export, export2blob, release, dll)
     return (library_path, load, load_mem, export, export2blob, release, dll)
 
 
 def search_library():
 def search_library():