Ruby 4.1.0dev (2026-09-22 revision ad23fd4a519fde4fc96c7326fb9b0347cbc347b8)
nonnull.h
Go to the documentation of this file.
1
4#ifndef PRISM_COMPILER_NONNULL_H
5#define PRISM_COMPILER_NONNULL_H
6
12#if defined(__GNUC__) || defined(__clang__)
13# define PRISM_NONNULL(...) __attribute__((__nonnull__(__VA_ARGS__)))
14#else
15# define PRISM_NONNULL(...)
16#endif
17
18#endif