Skip to content

Conversation

@aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented Dec 9, 2024

EDIT: #106147 should be merged first, so I have marked this as draft.

This PR changes the print_verbose macro to PRINT_VERBOSE, for 3 reasons:

  1. Fixes a name conflict with GDExtension UtilityFunctions: Fix print_verbose() macro conflicting with UtilityFunctions::print_verbose() godot-cpp#1668
  2. Fixes a name conflict with the engine's internal VariantUtilityFunctions, avoiding this awkwardness:
Screenshot 2024-12-09 at 2 35 36 PM
  1. Capitalizing the macro is consistent with the style used for all other macros in Godot.

This PR may minorly affect compatibility with third-party modules, but does not change the exposed scripting API. However, it is trivial for third-party modules to either update their code or add print_verbose as an alias.

@aaronfranke aaronfranke added this to the 4.4 milestone Dec 9, 2024
@aaronfranke aaronfranke requested review from a team as code owners December 9, 2024 22:47
@aaronfranke aaronfranke removed the request for review from a team December 9, 2024 22:47
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 2 times, most recently from fd356d5 to 33341d2 Compare March 15, 2025 09:23
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 3 times, most recently from 2bce9c6 to d4087f4 Compare April 3, 2025 05:51
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 3 times, most recently from 118a968 to 0985dea Compare April 10, 2025 08:16
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 2 times, most recently from 53111e1 to f4de73e Compare May 7, 2025 09:58
@aaronfranke aaronfranke changed the title Capitalize PRINT_VERBOSE macro to avoid a conflict with UtilityFunctions Capitalize PRINT_VERBOSE macro to match other macros May 10, 2025
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from f4de73e to cd0fb47 Compare May 10, 2025 21:22
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from cd0fb47 to a1ba06f Compare May 21, 2025 12:23
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 2 times, most recently from 8552ea9 to 1500ff5 Compare June 9, 2025 01:58
@aaronfranke aaronfranke marked this pull request as draft August 12, 2025 06:29
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from 1500ff5 to e213fbb Compare August 20, 2025 11:05
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from e213fbb to af6b843 Compare August 28, 2025 17:23
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from af6b843 to 86d16c3 Compare September 23, 2025 17:13
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 2 times, most recently from 4f9034a to 485ac96 Compare October 4, 2025 02:24
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from 485ac96 to 41585eb Compare October 15, 2025 03:25
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch 2 times, most recently from 1c571c4 to 7f2f889 Compare November 15, 2025 02:55
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from 7f2f889 to 80007d1 Compare December 6, 2025 07:03
@aaronfranke aaronfranke force-pushed the print-verbose-macro-caps branch from 80007d1 to 6123028 Compare January 10, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants