Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
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 */
#define LONG_LONG
Definition long_long.h:38