Ruby: include/ruby/backward/2/bool.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

bool.h
Go to the documentation of this file.
1#ifndef RUBY_BACKWARD2_BOOL_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_BACKWARD2_BOOL_H
23#include "ruby/internal/stdbool.h"
24
25#ifndef FALSE
26# define FALSE false
27#elif FALSE
28# error FALSE must be false
29#endif
30
31#ifndef TRUE
32# define TRUE true
33#elif ! TRUE
34# error TRUE must be true
35#endif
36
37#endif /* RUBY_BACKWARD2_BOOL_H */
stdbool.h
C99 shim for <stdbool.h>