mirror of
https://github.com/brl/mutter.git
synced 2025-07-09 20:27:15 +00:00
b25035ad2d83729247678ccd96fc4f26051820d4

Previously COGL_OBJECT_DEFINE would always define deprecated cogl_$type_{ref,unref} functions even if the type is new or if the type is entirely internal. An application would still find it difficult to use these because they wouldn't be in the headers, but it still looks bad that they are exported from the shared library. This patch changes it so that the deprecated ref counting functions are defined using a separate macro and only the types that have these functions in the headers call this macro.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%