mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Adds a new header, flutter_macros.h which includes a FLUTTER_DEPRECATED macro that can be used to mark deprecated API as such, with a hopefully-informative message, ideally describing the expected removal version and any migration tips. This will need to be #included in flutter_windows.h and flutter_linux.h, but prior to doing so, we'll need to update the engine recipe to bundle the new header, here: https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/engine/engine.py#1457 No tests since this adds a compiler macro that will be used for future C/C++ API deprecation once the above recipe change has landed; specifically: FlutterDesktopEngineProcessMessages. Related: https://github.com/flutter/flutter/issues/93537