[Liblas-commits] hg: clean up C API for Get/SetByteSize to
return/set uint16_t's
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Mar 18 09:57:08 EDT 2010
changeset 36817c6af832 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=36817c6af832
summary: clean up C API for Get/SetByteSize to return/set uint16_t's
diffstat:
include/liblas/capi/liblas.h | 4 ++--
src/las_c_api.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 2456f9f073e6 -r 36817c6af832 include/liblas/capi/liblas.h
--- a/include/liblas/capi/liblas.h Thu Mar 18 07:52:51 2010 -0600
+++ b/include/liblas/capi/liblas.h Thu Mar 18 07:56:37 2010 -0600
@@ -1177,8 +1177,8 @@
LAS_DLL LASError LASPointFormat_SetColor( LASPointFormatH hFormat, uint8_t bColor);
LAS_DLL uint8_t LASPointFormat_HasTime( LASPointFormatH hFormat);
LAS_DLL LASError LASPointFormat_SetTime( LASPointFormatH hFormat, uint8_t bTime);
-LAS_DLL uint32_t LASPointFormat_GetByteSize( LASPointFormatH hFormat);
-LAS_DLL LASError LASPointFormat_SetByteSize( LASPointFormatH hFormat, uint32_t size);
+LAS_DLL uint16_t LASPointFormat_GetByteSize( LASPointFormatH hFormat);
+LAS_DLL LASError LASPointFormat_SetByteSize( LASPointFormatH hFormat, uint16_t size);
LAS_DLL LASPointFormatH LASHeader_GetPointFormat( LASHeaderH hHeader );
LAS_DLL LASError LASHeader_SetPointFormat( LASHeaderH hHeader, LASPointFormatH hFormat);
diff -r 2456f9f073e6 -r 36817c6af832 src/las_c_api.cpp
--- a/src/las_c_api.cpp Thu Mar 18 07:52:51 2010 -0600
+++ b/src/las_c_api.cpp Thu Mar 18 07:56:37 2010 -0600
@@ -2070,7 +2070,7 @@
LAS_DLL LASPointFormatH LASPointFormat_Create( liblas::uint8_t version_major,
liblas::uint8_t version_minor,
- liblas::uint32_t size,
+ liblas::uint16_t size,
liblas::uint8_t bHasColor,
liblas::uint8_t bHasTime) {
liblas::PointFormat* format = new liblas::PointFormat(version_minor,
More information about the Liblas-commits
mailing list