[1.10.x] Fixed #27479 -- Fixed GDALClose prototype
Backport of faf8a253d3fc2d870fb7ab860581e942d2ad9fbc from master.
This commit is contained in:
parent
92ce31fd8c
commit
eff483ff32
@ -30,10 +30,7 @@ get_driver_description = const_string_output(std_call('GDALGetDescription'), [c_
|
|||||||
# Raster Data Source Routines
|
# Raster Data Source Routines
|
||||||
create_ds = voidptr_output(std_call('GDALCreate'), [c_void_p, c_char_p, c_int, c_int, c_int, c_int, c_void_p])
|
create_ds = voidptr_output(std_call('GDALCreate'), [c_void_p, c_char_p, c_int, c_int, c_int, c_int, c_void_p])
|
||||||
open_ds = voidptr_output(std_call('GDALOpen'), [c_char_p, c_int])
|
open_ds = voidptr_output(std_call('GDALOpen'), [c_char_p, c_int])
|
||||||
if GDAL_VERSION >= (2, 0):
|
close_ds = void_output(std_call('GDALClose'), [c_void_p], errcheck=False)
|
||||||
close_ds = voidptr_output(std_call('GDALClose'), [c_void_p])
|
|
||||||
else:
|
|
||||||
close_ds = void_output(std_call('GDALClose'), [c_void_p])
|
|
||||||
flush_ds = int_output(std_call('GDALFlushCache'), [c_void_p])
|
flush_ds = int_output(std_call('GDALFlushCache'), [c_void_p])
|
||||||
copy_ds = voidptr_output(
|
copy_ds = voidptr_output(
|
||||||
std_call('GDALCreateCopy'),
|
std_call('GDALCreateCopy'),
|
||||||
|
@ -20,3 +20,6 @@ Bugfixes
|
|||||||
|
|
||||||
* Fixed query expression date subtraction accuracy on PostgreSQL for
|
* Fixed query expression date subtraction accuracy on PostgreSQL for
|
||||||
differences large an a month (:ticket:`27856`).
|
differences large an a month (:ticket:`27856`).
|
||||||
|
|
||||||
|
* Fixed a ``GDALException`` raised by ``GDALClose`` on GDAL >= 2.0
|
||||||
|
(:ticket:`27479`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user