Ruby: internal/serial.h Source File

Ruby 3.3.5p100 (2024-09-03 revision ef084cc8f4958c1b6e4ead99136631bef6d8ddba)

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