--- a/src/cx/collection.h Sun Dec 28 15:45:39 2025 +0100 +++ b/src/cx/collection.h Sun Dec 28 17:31:20 2025 +0100 @@ -40,10 +40,6 @@ #include "iterator.h" #include "compare.h" -#ifdef __cplusplus -extern "C" { -#endif - /** * Special constant used for creating collections that are storing pointers. */ @@ -316,8 +312,4 @@ if ((c)->collection.simple_destructor) cx_invoke_simple_destructor(c,e); \ if ((c)->collection.advanced_destructor) cx_invoke_advanced_destructor(c,e) -#ifdef __cplusplus -} // extern "C" -#endif - #endif // UCX_COLLECTION_H