Permalink
Browse files

more empty decls

  • Loading branch information...
1 parent 5b2720d commit 5e1178935cc0d4cf920569f4adc7981bda8aca82 @hobu hobu committed Oct 27, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 rtree/core.py
View
@@ -88,14 +88,19 @@ def free(m):
rt.Error_GetLastErrorNum.restype = ctypes.c_int
+rt.Error_GetLastErrorMsg.argtypes = []
rt.Error_GetLastErrorMsg.restype = ctypes.POINTER(ctypes.c_char)
rt.Error_GetLastErrorMsg.errcheck = free_returned_char_p
rt.Error_GetLastErrorMethod.restype = ctypes.POINTER(ctypes.c_char)
rt.Error_GetLastErrorMethod.errcheck = free_returned_char_p
+rt.Error_GetErrorCount.argtypes = []
rt.Error_GetErrorCount.restype=ctypes.c_int
+rt.Error_Reset.argtypes = []
+rt.Error_Reset.restype = None
+
rt.Index_Create.argtypes = [ctypes.c_void_p]
rt.Index_Create.restype = ctypes.c_void_p
rt.Index_Create.errcheck = check_void
@@ -235,6 +240,7 @@ def free(m):
rt.IndexItem_GetID.restype = ctypes.c_int64
rt.IndexItem_GetID.errcheck = check_value
+rt.IndexProperty_Create.argtypes = []
rt.IndexProperty_Create.restype = ctypes.c_void_p
rt.IndexProperty_Create.errcheck = check_void

0 comments on commit 5e11789

Please sign in to comment.