From 60dbceac4f911fe3301aa28818aee2229c7558ee Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Fri, 18 Aug 2023 11:57:56 +0200 Subject: [PATCH] cogl/object: Drop no longer used Handle macros Part-of: --- cogl/cogl/cogl-object-private.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/cogl/cogl/cogl-object-private.h b/cogl/cogl/cogl-object-private.h index fbd04b9c6..93dd9d09d 100644 --- a/cogl/cogl/cogl-object-private.h +++ b/cogl/cogl/cogl-object-private.h @@ -244,30 +244,6 @@ _cogl_is_##type_name (void *object) \ #define COGL_OBJECT_INTERNAL_DEFINE(TypeName, type_name) \ COGL_OBJECT_INTERNAL_DEFINE_WITH_CODE (TypeName, type_name, (void) 0) -/* For temporary compatibility */ -#define COGL_HANDLE_INTERNAL_DEFINE_WITH_CODE(TypeName, type_name, code) \ - \ -COGL_OBJECT_INTERNAL_DEFINE_WITH_CODE (TypeName, type_name, code) \ - \ -static Cogl##TypeName * \ -_cogl_##type_name##_handle_new (CoglHandle handle) \ -{ \ - return _cogl_##type_name##_object_new (handle); \ -} - -#define COGL_HANDLE_DEFINE_WITH_CODE(TypeName, type_name, code) \ - \ -COGL_OBJECT_DEFINE_WITH_CODE (TypeName, type_name, code) \ - \ -static Cogl##TypeName * \ -_cogl_##type_name##_handle_new (CoglHandle handle) \ -{ \ - return _cogl_##type_name##_object_new (handle); \ -} - -#define COGL_HANDLE_DEFINE(TypeName, type_name) \ - COGL_HANDLE_DEFINE_WITH_CODE (TypeName, type_name, (void) 0) - void _cogl_object_set_user_data (CoglObject *object, CoglUserDataKey *key,