From 3bcdf824f89265d04bd77a73de4a6e4b2d428710 Mon Sep 17 00:00:00 2001 From: rfm Date: Sun, 9 Mar 2025 15:42:13 +0000 Subject: [PATCH] Fixup order of declarations --- Headers/GNUstepBase/GSObjCRuntime.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Headers/GNUstepBase/GSObjCRuntime.h b/Headers/GNUstepBase/GSObjCRuntime.h index c12720ac0..533a7fef7 100644 --- a/Headers/GNUstepBase/GSObjCRuntime.h +++ b/Headers/GNUstepBase/GSObjCRuntime.h @@ -80,11 +80,6 @@ GS_EXPORT void objc_moveWeak(id *dest, id *src); GS_EXPORT id objc_loadWeak(id *object); GS_EXPORT id objc_storeWeak(id *addr, id obj); -GS_EXPORT id objc_getAssociatedObject(id object, const void *key); -GS_EXPORT void objc_removeAssociatedObjects(id object); -GS_EXPORT void objc_setAssociatedObject(id object, const void *key, - id value, objc_AssociationPolicy policy); - /** objc_AssociationPolicy acts like a bitfield, but * only specific combinations of flags are permitted. */ @@ -112,6 +107,12 @@ typedef enum uintptr_t { */ OBJC_ASSOCIATION_COPY = 0x303 } objc_AssociationPolicy; + +GS_EXPORT id objc_getAssociatedObject(id object, const void *key); +GS_EXPORT void objc_removeAssociatedObjects(id object); +GS_EXPORT void objc_setAssociatedObject(id object, const void *key, + id value, objc_AssociationPolicy policy); + #endif /*