Ruby
3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
include
ruby
internal
attr
nonnull.h
Go to the documentation of this file.
1
#ifndef RBIMPL_ATTR_NONNULL_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_ATTR_NONNULL_H
23
#include "
ruby/internal/has/attribute.h
"
24
26
#if RBIMPL_HAS_ATTRIBUTE(nonnull)
27
# define RBIMPL_ATTR_NONNULL(list) __attribute__((__nonnull__ list))
28
#else
29
# define RBIMPL_ATTR_NONNULL(list)
/* void */
30
#endif
31
32
#endif
/* RBIMPL_ATTR_NONNULL_H */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.
Generated by
1.9.5