Ruby
3.4.0dev (2024-11-23 revision b4d13fac3dd5420475aa1e14fdad8137da7e3ee0)
include
ruby
internal
attr
weakref.h
Go to the documentation of this file.
1
#ifndef RBIMPL_ATTR_WEAKREF_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_ATTR_WEAKREF_H
23
#include "
ruby/internal/has/attribute.h
"
24
26
#if RBIMPL_HAS_ATTRIBUTE(weakref)
27
# define RBIMPL_ATTR_WEAKREF(sym) __attribute__((__weakref__(# sym)))
28
#else
29
# define RBIMPL_ATTR_WEAKREF(sym)
/* void */
30
#endif
31
32
#endif
/* RBIMPL_ATTR_WEAKREF_H */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.
Generated by
1.9.1