about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2023-11-14 14:52:41 +0100
committerMads Marquart <mads@marquart.dk>2024-01-13 19:48:07 +0100
commit3b325bc25fdc0459b99ccb3baeb48a4c2459869c (patch)
tree32d18f3cdec09e84d22b40c191110a2a2c12d173 /compiler/rustc_parse_format/src
parentc6c4abf58499d89000e333627237e63dbca24437 (diff)
downloadrust-3b325bc25fdc0459b99ccb3baeb48a4c2459869c.tar.gz
rust-3b325bc25fdc0459b99ccb3baeb48a4c2459869c.zip
Refactor uses of `objc_msgSend` to no longer have clashing definitions
This is very similar to what Apple's own headers encourage you to do (cast the function pointer before use instead of making new declarations).

Additionally, I'm documenting a few of the memory management rules we're following, ensuring that the `args` function doesn't leak memory (if you wrap it in an autorelease pool).
Diffstat (limited to 'compiler/rustc_parse_format/src')
0 files changed, 0 insertions, 0 deletions