github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/image/gdal/go_gdal.c (about) 1 // Copyright 2011 go-gdal. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #include "go_gdal.h" 6 #include "_cgo_export.h" 7 8 #include <cpl_conv.h> 9 10 static 11 int goGDALProgressFuncProxyB_( 12 double dfComplete, const char *pszMessage, void *pProgressArg 13 ) { 14 GoInterface* args = (GoInterface*)pProgressArg; 15 GoInt rv = goGDALProgressFuncProxyA(dfComplete, (char*)pszMessage, args); 16 return (int)rv; 17 } 18 19 GDALProgressFunc goGDALProgressFuncProxyB() { 20 return goGDALProgressFuncProxyB_; 21 } 22 23