Ruby
3.2.3p157 (2024-01-18 revision 52bb2ac0a6971d0391efa2275f7a66bff319087c)
include
ruby
internal
attr
alloc_size.h
Go to the documentation of this file.
1
#ifndef RBIMPL_ATTR_ALLOC_SIZE_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_ATTR_ALLOC_SIZE_H
23
#include "
ruby/internal/has/attribute.h
"
24
26
#if RBIMPL_HAS_ATTRIBUTE(alloc_size)
27
# define RBIMPL_ATTR_ALLOC_SIZE(tuple) __attribute__((__alloc_size__ tuple))
28
#else
29
# define RBIMPL_ATTR_ALLOC_SIZE(tuple)
/* void */
30
#endif
31
32
#endif
/* RBIMPL_ATTR_ALLOC_SIZE_H */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.
Generated by
1.10.0