Rizin
unix-like reverse engineering framework and cli tools
bool.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2021 heersin <teablearcher@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef RZ_IL_BOOL_H
5 #define RZ_IL_BOOL_H
6 
7 #include <rz_types.h>
8 #include <rz_util.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct rz_il_bool_t {
15  bool b;
17 
18 RZ_API RzILBool *rz_il_bool_new(bool true_or_false);
23 RZ_API void rz_il_bool_free(RzILBool *bool_var);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif // RZ_IL_BOOL_H
RZ_API RzILBool * rz_il_bool_xor(RZ_NONNULL RzILBool *a, RZ_NONNULL RzILBool *b)
Definition: bool.c:52
RZ_API RzILBool * rz_il_bool_and(RZ_NONNULL RzILBool *a, RZ_NONNULL RzILBool *b)
Definition: bool.c:26
RZ_API RzILBool * rz_il_bool_new(bool true_or_false)
Definition: bool.c:11
RZ_API RzILBool * rz_il_bool_not(RZ_NONNULL RzILBool *a)
Definition: bool.c:63
struct rz_il_bool_t RzILBool
RZ_API RzILBool * rz_il_bool_or(RZ_NONNULL RzILBool *a, RZ_NONNULL RzILBool *b)
Definition: bool.c:39
RZ_API void rz_il_bool_free(RzILBool *bool_var)
Definition: bool.c:74
#define RZ_API
#define RZ_NONNULL
Definition: rz_types.h:64
#define b(i)
Definition: sha256.c:42
#define a(i)
Definition: sha256.c:41
bool b
Definition: bool.h:15