Skip to content

Commit

Permalink
more empty decls
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Oct 27, 2011
1 parent 5b2720d commit 5e11789
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rtree/core.py
Expand Up @@ -88,14 +88,19 @@ def free(m):


rt.Error_GetLastErrorNum.restype = ctypes.c_int rt.Error_GetLastErrorNum.restype = ctypes.c_int


rt.Error_GetLastErrorMsg.argtypes = []
rt.Error_GetLastErrorMsg.restype = ctypes.POINTER(ctypes.c_char) rt.Error_GetLastErrorMsg.restype = ctypes.POINTER(ctypes.c_char)
rt.Error_GetLastErrorMsg.errcheck = free_returned_char_p rt.Error_GetLastErrorMsg.errcheck = free_returned_char_p


rt.Error_GetLastErrorMethod.restype = ctypes.POINTER(ctypes.c_char) rt.Error_GetLastErrorMethod.restype = ctypes.POINTER(ctypes.c_char)
rt.Error_GetLastErrorMethod.errcheck = free_returned_char_p rt.Error_GetLastErrorMethod.errcheck = free_returned_char_p


rt.Error_GetErrorCount.argtypes = []
rt.Error_GetErrorCount.restype=ctypes.c_int 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.argtypes = [ctypes.c_void_p]
rt.Index_Create.restype = ctypes.c_void_p rt.Index_Create.restype = ctypes.c_void_p
rt.Index_Create.errcheck = check_void rt.Index_Create.errcheck = check_void
Expand Down Expand Up @@ -235,6 +240,7 @@ def free(m):
rt.IndexItem_GetID.restype = ctypes.c_int64 rt.IndexItem_GetID.restype = ctypes.c_int64
rt.IndexItem_GetID.errcheck = check_value rt.IndexItem_GetID.errcheck = check_value


rt.IndexProperty_Create.argtypes = []
rt.IndexProperty_Create.restype = ctypes.c_void_p rt.IndexProperty_Create.restype = ctypes.c_void_p
rt.IndexProperty_Create.errcheck = check_void rt.IndexProperty_Create.errcheck = check_void


Expand Down

0 comments on commit 5e11789

Please sign in to comment.