Differences From Artifact [a2cf91e1c0]:
- File
src/OFString.h
— part of check-in
[4b56450a24]
at
2013-11-24 17:28:31
on branch trunk
— of_asprintf: Change %k to %C and %K to %S.
This reverts 2943b43. It turned out that using %C and %S is possible,
even when mixing code with Cocoa code, as it is possible to introduce
__attribute__((format(__OFString__, ...))) to Clang which just handles
%C and %S as being of_unichar_t instead of unichar like they are handled
for __attribute__((format(__NSString__, ...))).The Clang patch for __attribute__((format(__OFString__, ...))) has been
submitted, but is not upstream yet, thus the changes for that are not
being committed yet. (user: js, size: 33226) [annotate] [blame] [check-ins using]
To Artifact [2365ec48aa]:
- File
src/OFString.h
— part of check-in
[8486e8c42a]
at
2013-11-24 18:57:56
on branch trunk
— OFString.h: Revert something that slipped in.
This actually belonged to a commit that has not been pushed yet. (user: js, size: 33201) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
495 496 497 498 499 500 501 | * * See printf for the format syntax. As an addition, %@ is available as format * specifier for objects, %C for of_unichar_t and %S for const of_unichar_t*. * * @param format A string used as format to initialize the OFString * @return An initialized OFString */ | | | 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 | * * See printf for the format syntax. As an addition, %@ is available as format * specifier for objects, %C for of_unichar_t and %S for const of_unichar_t*. * * @param format A string used as format to initialize the OFString * @return An initialized OFString */ - initWithFormat: (OFConstantString*)format, ...; /*! * @brief Initializes an already allocated OFString with a format string. * * See printf for the format syntax. As an addition, %@ is available as format * specifier for objects, %C for of_unichar_t and %S for const of_unichar_t*. * |
︙ | ︙ |