Changeset 876:91d5d1d059ff
- Timestamp:
- 02/05/09 19:03:13 (19 months ago)
- Branch:
- 1.0
- Convert:
- svn:1766ff46-f334-0410-ab20-d63176f87757/branches/1.0@1001
- Location:
- python/liblas
- Files:
-
- 2 edited
-
__init__.py (modified) (1 diff)
-
core.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
python/liblas/__init__.py
r657 r876 1 1 from core import * 2 version = core.get_version() 2 3 import file 3 4 import point -
python/liblas/core.py
r870 r876 99 99 100 100 size = ctypes.c_int() 101 retvalue = ctypes.string_at(result , size.value)[:]101 retvalue = ctypes.string_at(result) 102 102 free(result) 103 103 return retvalue … … 145 145 def get_version(): 146 146 return las.LAS_GetVersion() 147 147 148 version = get_version() 148 149 149 150 las.LAS_GetVersion.restype = ctypes.POINTER(ctypes.c_char) 150 151 las.LAS_GetVersion.errcheck = free_returned_char_p 151 152 152 version = get_version()153 153 las.LAS_GetVersion.restype = ctypes.c_char_p 154 154 las.LASError_GetLastErrorNum.restype = ctypes.c_int
Note: See TracChangeset
for help on using the changeset viewer.
