#48792: is_<enum>_user_flag() Open Date: 2023-10-02 20:16 Last Update: 2024-05-29 11:36 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48792 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48792 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2024-05-29 11:36 Updated by: alienvalkyrie * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: alienvalkyrie Type: Patches Status: Closed Priority: 5 - Medium MileStone: 3.3.0 Component: Bootstrap Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Follow-up idea to #48790 : when specenum has user flags defined, specenum generator could output inline function "bool is_<enum>_user_flag(enum <enum>)" This would also at least reduce the need for defining likes of TER_USER_LAST. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/48792 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48792