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

Ruby 3.4.7p58 (2025-10-08 revision 7a5688e2a27668e48f8d6ff4af5b2208b98a2f5e)

nonstring.h
Go to the documentation of this file.
1#ifndef RBIMPL_ATTR_NONSTRING_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ATTR_NONSTRING_H
23#include "ruby/internal/has/attribute.h"
24
26#if RBIMPL_HAS_ATTRIBUTE(nonstring)
27# define RBIMPL_ATTR_NONSTRING() __attribute__((nonstring))
28#else
29# define RBIMPL_ATTR_NONSTRING() /* void */
30#endif
31
32#endif /* RBIMPL_ATTR_NONSTRING_H */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.