rust/library/core/src/ffi
Matthias Krüger 1ff247c404
Rollup merge of #124593 - GKFX:cstr-literals-in-api-docs, r=workingjubilee
Describe and use CStr literals in CStr and CString docs

Mention CStr literals in the description of both types, and use them in some of the code samples for CStr. This is intended to make C string literals more discoverable.

Additionally, I don't think the orange "This example is not tested" warnings are very encouraging, so I have made the examples on `CStr` build.
2024-05-03 20:33:46 +02:00
..
c_char.md Temporarily make `CStr` not a link in the `c_char` docs 2022-03-01 17:36:40 -08:00
c_double.md Fix naming format of IEEE 754 standard 2022-09-11 04:13:33 +02:00
c_float.md Fix naming format of IEEE 754 standard 2022-09-11 04:13:33 +02:00
c_int.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_long.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_longlong.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_schar.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_short.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_str.rs Rollup merge of #124593 - GKFX:cstr-literals-in-api-docs, r=workingjubilee 2024-05-03 20:33:46 +02:00
c_uchar.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_uint.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_ulong.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_ulonglong.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_ushort.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_void.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
mod.rs Fix va_list on watchOS and visionOS 2024-04-28 21:30:40 +02:00