Overview
Comment: | Optimize some code by using the new stringWithCString:andLength: method. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7bb3494ef9f039631ef9e85c6de21050 |
User & Date: | js on 2009-07-14 17:51:02 |
Other Links: | manifest | tags |
Context
2009-07-14
| ||
18:57 | Add OFString (OFXMLUnescaping) category and API for OFXMLParser. check-in: d8684fc232 user: js tags: trunk | |
17:51 | Optimize some code by using the new stringWithCString:andLength: method. check-in: 7bb3494ef9 user: js tags: trunk | |
17:32 | Add methods to handle C strings with length to OF(Mutable)String. check-in: dc7bb2d594 user: js tags: trunk | |
Changes
Modified src/OFString.m from [36e450e8e9] to [b0bbce5a9e].
︙ | |||
399 400 401 402 403 404 405 | 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 | - - - - - - - - - - - - - - - - + - - - - + - - + - - - + - - - - - - - - - - - - - - - - - - - + - - + | return SIZE_MAX; } } - (OFString*)substringFromIndex: (size_t)start toIndex: (size_t)end { |
︙ |
Modified tests/OFString/OFString.m from [2fcb062a9a] to [b1315ec8f9].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + | #ifndef _WIN32 #define ZD "%zd" #else #define ZD "%u" #endif |
︙ |