Overview
Comment: | OFMapTable: Minor corrections. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8a194de51c9259bbb1b1b4e0b19a1a05 |
User & Date: | js on 2013-05-04 10:05:50 |
Other Links: | manifest | tags |
Context
2013-05-04
| ||
12:04 | OFSet: Add -[allObjects] and -[anyObject]. check-in: d1a7509701 user: js tags: trunk | |
10:05 | OFMapTable: Minor corrections. check-in: 8a194de51c user: js tags: trunk | |
2013-05-01
| ||
21:05 | OFRunLoop: Work correctly for threads && !sockets. check-in: 56ec27cbdf user: js tags: trunk | |
Changes
Modified src/OFMapTable.m from [9fc4f60d3b] to [e861c4b211].
︙ | |||
313 314 315 316 317 318 319 | 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | - - + | */ if ((capacity < _capacity && count > _count) || capacity < MIN_CAPACITY) return; buckets = [self allocMemoryWithSize: sizeof(*buckets) count: capacity]; |
︙ | |||
380 381 382 383 384 385 386 | 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | - + | continue; if (_keyFunctions.equal(_buckets[i]->key, key)) break; } } |
︙ | |||
417 418 419 420 421 422 423 | 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 | - + | [self freeMemory: bucket]; @throw e; } @try { bucket->value = _valueFunctions.retain(value); } @catch (id e) { |
︙ |
Modified src/macros.h from [03ac2254d3] to [533552d659].
︙ | |||
321 322 323 324 325 326 327 | 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 | - - - - - - + + + + + + | * We define it here and not in objfw-defs.h, as it would be theoretically * possible to build a universal binary for Mac OS X and iOS. */ #if defined(__APPLE__) && defined(__arm__) # define OF_IOS #endif |
︙ |