Ruby
3.4.0dev (2024-11-05 revision e440268d51fe02b303e3817a7a733a0dac1c5091)
include
ruby
internal
attr
packed_struct.h
Go to the documentation of this file.
1
#ifndef RBIMPL_ATTR_PACKED_STRUCT_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_ATTR_PACKED_STRUCT_H
26
#include "ruby/internal/config.h"
27
28
#ifndef RBIMPL_ATTR_PACKED_STRUCT_BEGIN
29
# define RBIMPL_ATTR_PACKED_STRUCT_BEGIN()
/* void */
30
#endif
31
#ifndef RBIMPL_ATTR_PACKED_STRUCT_END
32
# define RBIMPL_ATTR_PACKED_STRUCT_END()
/* void */
33
#endif
34
35
#if UNALIGNED_WORD_ACCESS
36
# define RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN() RBIMPL_ATTR_PACKED_STRUCT_BEGIN()
37
# define RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END() RBIMPL_ATTR_PACKED_STRUCT_END()
38
#else
39
# define RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN()
/* void */
40
# define RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END()
/* void */
41
#endif
42
43
#endif
Generated by
1.9.1