Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
serial.h
Go to the documentation of this file.
1#ifndef INTERNAL_SERIAL_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_SERIAL_H
12#include "ruby/internal/config.h" /* for HAVE_LONG_LONG */
13#include "ruby/defines.h" /* for LONG_LONG */
14
15#ifndef HAVE_LONG_LONG
16# error need C99+
17#endif
18
19typedef unsigned LONG_LONG rb_serial_t;
20#define SERIALT2NUM ULL2NUM
21#define PRI_SERIALT_PREFIX PRI_LL_PREFIX
22#define SIZEOF_SERIAL_T SIZEOF_LONG_LONG
23
24#endif /* INTERNAL_SERIAL_H */
Thin wrapper to ruby/config.h.
unsigned LONG_LONG rb_serial_t
Definition: serial.h:19