Changeset 844

Show
Ignore:
Timestamp:
08/18/08 23:45:53 (4 months ago)
Author:
hobu
Message:

use the correct return types for Year and DOY functions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/python/liblas/core.py

    r813 r844  
    105105    # stolen from Shapely 
    106106    # http://trac.gispython.org/projects/PCL/browser/Shapely/trunk/shapely/geos.py 
    107     lib_name = 'liblas0.9.6.dll' 
     107    lib_name = 'liblas.dll' 
    108108    try: 
    109109        local_dlls = os.path.abspath(os.__file__ + "../../../DLLs") 
     
    318318las.LASHeader_GetReserved.errcheck = check_value 
    319319 
    320 las.LASHeader_GetCreationDOY.restype = ctypes.c_short 
     320las.LASHeader_GetCreationDOY.restype = ctypes.c_ushort 
    321321las.LASHeader_GetCreationDOY.argtypes = [ctypes.c_void_p] 
    322322las.LASHeader_GetCreationDOY.errcheck = check_value 
    323323las.LASHeader_SetCreationDOY.restype = ctypes.c_int 
    324 las.LASHeader_SetCreationDOY.argtypes = [ctypes.c_void_p, ctypes.c_short] 
     324las.LASHeader_SetCreationDOY.argtypes = [ctypes.c_void_p, ctypes.c_ushort] 
    325325las.LASHeader_SetCreationDOY.errcheck = check_return 
    326326 
    327 las.LASHeader_GetCreationYear.restype = ctypes.c_short 
     327las.LASHeader_GetCreationYear.restype = ctypes.c_ushort 
    328328las.LASHeader_GetCreationYear.argtypes = [ctypes.c_void_p] 
    329329las.LASHeader_GetCreationYear.errcheck = check_value 
    330330las.LASHeader_SetCreationYear.restype = ctypes.c_int 
    331 las.LASHeader_SetCreationYear.argtypes = [ctypes.c_void_p, ctypes.c_short] 
     331las.LASHeader_SetCreationYear.argtypes = [ctypes.c_void_p, ctypes.c_ushort] 
    332332las.LASHeader_SetCreationYear.errcheck = check_return 
    333333