Ruby: include/ruby/internal/attr/error.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

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
23#include "ruby/internal/has/attribute.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 */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.