Opened 18 years ago

Last modified 18 years ago

#973 closed defect (fixed)

Fixed typo errors and corrected function prototypes in gdal.h, gdalrasterband.cpp

Reported by: robert.denham@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

Some typos in gdal.h and incorrect specification of prototypes in gdal.h means
that the c functions for:
GDALRATGetColOfUsage  
GDALRATGetValueAsString, 
GDALRATGetValueAsInt, 
GDALRATGetValueAsDouble, 
GDALRATSetValueAsString,
GDALRATSetValueAsInt,
GDALRATSetValueAsDouble,
GDALRATIntitializeFromColorTable 
are not available.  

A typo in gdalrasterband.cpp means that GDALSetDefaultRAT is not available.

Attachments (1)

gdalrat.tar (10.0 KB ) - added by robert.denham@… 18 years ago.
patches to fix this bug

Download all attachments as: .zip

Change History (2)

by robert.denham@…, 18 years ago

Attachment: gdalrat.tar added

patches to fix this bug

comment:1 by warmerdam, 18 years ago

Patches verified and applied. 

Thanks!

As you can guess, I haven't actually used the C API yet.

Note: See TracTickets for help on using tickets.