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

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

noalias.h
Go to the documentation of this file.
1#ifndef RBIMPL_ATTR_NOALIAS_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ATTR_NOALIAS_H
49#include "ruby/internal/has/declspec_attribute.h"
50
52#if RBIMPL_HAS_DECLSPEC_ATTRIBUTE(noalias)
53# define RBIMPL_ATTR_NOALIAS() __declspec(noalias)
54#else
55# define RBIMPL_ATTR_NOALIAS() /* void */
56#endif
57
58#endif /* RBIMPL_ATTR_NOALIAS_H */
declspec_attribute.h
Defines RBIMPL_HAS_DECLSPEC_ATTRIBUTE.