[GRASS-git] [OSGeo/grass] 425b19: ctypesgen: Add 'bool' to ctypes type map, needed f...
Nicklas Larsson
noreply at github.com
Mon Nov 17 11:52:54 PST 2025
Branch: refs/heads/releasebranch_8_4
Home: https://github.com/OSGeo/grass
Commit: 425b19b6f6418f1a3f9283dd3555f2e3d295d27d
https://github.com/OSGeo/grass/commit/425b19b6f6418f1a3f9283dd3555f2e3d295d27d
Author: Nicklas Larsson <n_larsson at yahoo.com>
Date: 2025-11-17 (Mon, 17 Nov 2025)
Changed paths:
M python/libgrass_interface_generator/README.md
M python/libgrass_interface_generator/ctypesgen/ctypedescs.py
Log Message:
-----------
ctypesgen: Add 'bool' to ctypes type map, needed for C23 (#5621)
Commit: 59db85624e4fd204e389e27e1ddc28028dd3edfc
https://github.com/OSGeo/grass/commit/59db85624e4fd204e389e27e1ddc28028dd3edfc
Author: Nicklas Larsson <n_larsson at yahoo.com>
Date: 2025-11-17 (Mon, 17 Nov 2025)
Changed paths:
M general/g.region/main.c
M include/grass/defs/raster.h
M include/grass/defs/vector.h
M include/grass/gis.h
M lib/gis/mapset_msc.c
M lib/raster/mask_info.c
M lib/raster/raster_metadata.c
M lib/rst/interp_float/init2d.c
M raster/r.horizon/main.c
M raster/r.kappa/print_json.c
M raster/r.out.gdal/attr.c
M raster/r.series/main.c
M raster/r.slope.aspect/main.c
M raster/r.sun/main.c
M raster/r.sun/sunradstruct.h
M raster/r.thin/thin_lines.c
M raster/r.volume/main.c
M vector/v.db.select/main.c
M vector/v.fill.holes/main.c
M vector/v.hull/chull.c
M vector/v.surf.rst/main.c
Log Message:
-----------
CQ: always include stdbool.h if bool is used in C code (#5618)
Always `#include <stdbool.h>` where `bool` is used i C code.
For the same reason, revert (part of 1e0c11f526f64755f877957ce6c14b2159c3823f)
definition of `TRUE` and `FALSE` (in gis.h) to `1` and `0`, in order to
avoid the inclusion everywhere it may/should have been needed. In addition,
starting with C23 `bool` is not an int, but a type of its own, making it
not interchangeable with int.
Compare: https://github.com/OSGeo/grass/compare/7f2744263a55...59db85624e4f
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list