Ruby: internal/serial.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

serial.h
1#ifndef INTERNAL_SERIAL_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_SERIAL_H
11#include "ruby/internal/config.h" /* for HAVE_LONG_LONG */
12#include "ruby/defines.h" /* for LONG_LONG */
13
14#ifndef HAVE_LONG_LONG
15# error need C99+
16#endif
17
18typedef unsigned LONG_LONG rb_serial_t;
19#define SERIALT2NUM ULL2NUM
20#define PRI_SERIALT_PREFIX PRI_LL_PREFIX
21#define SIZEOF_SERIAL_T SIZEOF_LONG_LONG
22
23#endif /* INTERNAL_SERIAL_H */
LONG_LONG
#define LONG_LONG
Definition long_long.h:38
defines.h