Skip to content

Commit

Permalink
* fixed mulleRegisterObject: in NSMutableSet
Browse files Browse the repository at this point in the history
  • Loading branch information
mulle-nat committed Dec 11, 2024
1 parent c6b41ab commit 9289b9b
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .mulle/share/env/environment-plugin.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mulle/share/env/version

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mulle/share/sde/version/mulle-sde/cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required( VERSION 3.15)

project( MulleObjCContainerFoundation VERSION 0.23.0 LANGUAGES C)
project( MulleObjCContainerFoundation VERSION 0.23.1 LANGUAGES C)


set( CMAKE_C_DEBUG_FLAGS "${CMAKE_C_DEBUG_FLAGS} -Wuninitialized")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ usual containeres expected in a Foundation library.

| Release Version | Release Notes
|-------------------------------------------------------|--------------
| ![Mulle kybernetiK tag](https://img.shields.io/github/tag/MulleFoundation/MulleObjCContainerFoundation.svg?branch=release) [![Build Status](https://github.com/MulleFoundation/MulleObjCContainerFoundation/workflows/CI/badge.svg?branch=release)](//github.com/MulleFoundation/MulleObjCContainerFoundation/actions) | [RELEASENOTES](RELEASENOTES.md) |
| ![Mulle kybernetiK tag](https://img.shields.io/github/tag/MulleFoundation/MulleObjCContainerFoundation.svg) [![Build Status](https://github.com/MulleFoundation/MulleObjCContainerFoundation/workflows/CI/badge.svg)](//github.com/MulleFoundation/MulleObjCContainerFoundation/actions) | [RELEASENOTES](RELEASENOTES.md) |


## API
Expand Down
4 changes: 4 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.23.1

* fixed mulleRegisterObject: in NSMutableSet

## 0.23.0


Expand Down
2 changes: 1 addition & 1 deletion clib.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "MulleObjCContainerFoundation",
"version" : "0.23.0",
"version" : "0.23.1",
"description" : "🛍 Container classes like NSArray, NSSet, NSDictionary",
"keywords" : [],
"license" : "BSD-3-Clause",
Expand Down
13 changes: 9 additions & 4 deletions cmake/share/InstallRpath.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/MulleObjCContainerFoundation.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// POSSIBILITY OF SUCH DAMAGE.
//

#define MULLE_OBJC_CONTAINER_FOUNDATION_VERSION ((0UL << 20) | (23 << 8) | 0)
#define MULLE_OBJC_CONTAINER_FOUNDATION_VERSION ((0UL << 20) | (23 << 8) | 1)

#import "import.h"

Expand Down
4 changes: 2 additions & 2 deletions src/NSSet/_MulleObjCConcreteMutableSet.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ - (id) mulleRegisterObject:(id) obj

ivars = _MulleObjCSetGetIvars( self);
allocator = MulleObjCInstanceGetAllocator( self);
old = _mulle__set_insert( &ivars->_table, obj, &NSSetCallback, allocator);
return( old == NULL ? obj : old);
old = _mulle__set_register( &ivars->_table, obj, &NSSetCallback, allocator);
return( old);
}


Expand Down
4 changes: 2 additions & 2 deletions src/reflect/_MulleObjCContainerFoundation-versioncheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

#if defined( MULLE_OBJC_VERSION)
# ifndef MULLE_OBJC_VERSION_MIN
# define MULLE_OBJC_VERSION_MIN ((0UL << 20) | (24 << 8) | 0)
# define MULLE_OBJC_VERSION_MIN ((0UL << 20) | (25 << 8) | 0)
# endif
# ifndef MULLE_OBJC_VERSION_MAX
# define MULLE_OBJC_VERSION_MAX ((0UL << 20) | (25 << 8) | 0)
# define MULLE_OBJC_VERSION_MAX ((0UL << 20) | (26 << 8) | 0)
# endif
# if MULLE_OBJC_VERSION < MULLE_OBJC_VERSION_MIN
# error "MulleObjC is too old"
Expand Down
2 changes: 1 addition & 1 deletion test/.mulle/share/env/environment-plugin.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/.mulle/share/env/version

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/.mulle/share/sde/version/mulle-sde/base-test-runtime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/.mulle/share/sde/version/mulle-sde/c-test-runtime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/.mulle/share/sde/version/mulle-sde/objc-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/.mulle/share/sde/version/mulle-sde/objc-test-runtime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9289b9b

Please sign in to comment.