github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/image/gdal/gdal_version.go (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  package gdal
     6  
     7  /*
     8  #include <gdal_version.h>
     9  */
    10  import "C"
    11  
    12  const (
    13  	GDAL_VERSION_MAJOR = int(C.GDAL_VERSION_MAJOR)
    14  	GDAL_VERSION_MINOR = int(C.GDAL_VERSION_MINOR)
    15  	GDAL_VERSION_REV   = int(C.GDAL_VERSION_REV)
    16  	GDAL_VERSION_BUILD = int(C.GDAL_VERSION_BUILD)
    17  
    18  	GDAL_VERSION_NUM  = int(C.GDAL_VERSION_NUM)
    19  	GDAL_RELEASE_DATE = int(C.GDAL_RELEASE_DATE)
    20  
    21  	GDAL_RELEASE_NAME = string(C.GDAL_RELEASE_NAME)
    22  )