[Liblas-commits] hg: use CPL_STDCALL for GDAL debug calls to satisfy calling conv...

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Oct 25 10:44:58 EDT 2010


changeset e5200e060709 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=e5200e060709
summary: use CPL_STDCALL for GDAL debug calls to satisfy calling convention requirements on windows

diffstat:

 apps/las2oci.cpp |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 557cadae16a1 -r e5200e060709 apps/las2oci.cpp
--- a/apps/las2oci.cpp	Sun Oct 24 01:18:25 2010 +0100
+++ b/apps/las2oci.cpp	Mon Oct 25 08:44:40 2010 -0600
@@ -10,7 +10,7 @@
 using namespace liblas;
 using namespace std;
 
-void OCIGDALDebugErrorHandler(CPLErr eErrClass, int err_no, const char *msg)
+ void CPL_STDCALL OCIGDALDebugErrorHandler(CPLErr eErrClass, int err_no, const char *msg)
 {
     ostringstream oss;
     
@@ -24,7 +24,7 @@
     }
 }
 
-void OCIGDALErrorHandler(CPLErr eErrClass, int err_no, const char *msg)
+ void CPL_STDCALL OCIGDALErrorHandler(CPLErr eErrClass, int err_no, const char *msg)
 {
     ostringstream oss;
     


More information about the Liblas-commits mailing list