Ruby
3.5.0dev (2025-06-27 revision 3d5619c8b1a76626e0991d758b71afc549829c38)
include
ruby
internal
stdbool.h
Go to the documentation of this file.
1
#ifndef RBIMPL_STDBOOL_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_STDBOOL_H
23
#include "ruby/internal/config.h"
24
25
#if defined(__bool_true_false_are_defined)
26
#
/* Take that. */
27
28
#elif defined(__cplusplus)
29
#
/* bool is a keyword in C++. */
30
# ifndef __bool_true_false_are_defined
31
# define __bool_true_false_are_defined
32
# endif
33
34
#else
35
#
/* Take stdbool.h definition. It exists since GCC 3.0 and VS 2015. */
36
# include <
stdbool.h
>
37
#endif
38
39
#endif
/* RBIMPL_STDBOOL_H */
stdbool.h
C99 shim for <stdbool.h>
Generated by
1.9.8