Ruby 3.5.0dev (2025-06-27 revision fe9a3be2966b0e54b93e9349bf47d4e5b879a6e1)
error.h
Go to the documentation of this file.
1#ifndef RBIMPL_ATTR_ERROR_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ATTR_ERROR_H
24
26#if RBIMPL_HAS_ATTRIBUTE(error)
27# define RBIMPL_ATTR_ERROR(msg) __attribute__((__error__ msg))
28#else
29# define RBIMPL_ATTR_ERROR(msg) /* void */
30#endif
31
32#endif /* RBIMPL_ATTR_ERROR_H */
Defines RBIMPL_HAS_ATTRIBUTE.