1#ifndef RBIMPL_ATTR_RESTRICT_H
2#define RBIMPL_ATTR_RESTRICT_H
32#if RBIMPL_COMPILER_SINCE(MSVC, 14, 0, 0)
33# define RBIMPL_ATTR_RESTRICT() __declspec(RBIMPL_TOKEN_PASTE(re, strict))
35#elif RBIMPL_HAS_ATTRIBUTE(malloc)
36# define RBIMPL_ATTR_RESTRICT() __attribute__((__malloc__))
38#elif RBIMPL_COMPILER_SINCE(SunPro, 5, 10, 0)
39# define RBIMPL_ATTR_RESTRICT() _Pragma("returns_new_memory")
42# define RBIMPL_ATTR_RESTRICT()
Defines RBIMPL_HAS_ATTRIBUTE.
Defines RBIMPL_COMPILER_SINCE.
Defines RBIMPL_TOKEN_PASTE.