|
Ruby 4.1.0dev (2026-11-27 revision f3e180b5ebc835f87c2ff7ccb8474a1bf18b0115)
|

Go to the source code of this file.
Macros | |
| #define | PRISM_NODISCARD __attribute__((__warn_unused_result__)) |
| Mark the return value of a function as important so that the compiler warns if a caller ignores it. | |
| #define PRISM_NODISCARD __attribute__((__warn_unused_result__)) |
Mark the return value of a function as important so that the compiler warns if a caller ignores it.
This is useful for functions that return error codes or allocated resources that must be freed.
Definition at line 15 of file nodiscard.h.
Referenced by pm_source_file_new(), and pm_source_mapped_new().