Differences From Artifact [add596737a]:
- File
src/OFString.h
— part of check-in
[945ff1043d]
at
2013-11-23 17:48:21
on branch trunk
— of_asprintf: Add %K format specifier.
%K is for const of_unichar_t*. (user: js, size: 33226) [annotate] [blame] [check-ins using]
To 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]
︙ | |||
261 262 263 264 265 266 267 | 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | - + | length: (size_t)length byteOrder: (of_byte_order_t)byteOrder; /*! * @brief Creates a new OFString from a format string. * * See printf for the format syntax. As an addition, %@ is available as format |
︙ | |||
490 491 492 493 494 495 496 | 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 | - + - + | length: (size_t)length byteOrder: (of_byte_order_t)byteOrder; /*! * @brief Initializes an already allocated OFString with a format string. * * See printf for the format syntax. As an addition, %@ is available as format |
︙ |