ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/include/isl/maybe_templ.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 358 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 #include <isl/ctx.h>
2 #include <isl/maybe.h>
3
4 /* A structure that possibly contains a pointer to an object of type ISL_TYPE.
5 * The pointer in "value" is only valid if "valid" is isl_bool_true.
6 * Otherwise, "value" is set to NULL.
7 */
8 struct ISL_MAYBE(ISL_TYPE) {
9 isl_bool valid;
10 ISL_TYPE *value;
11 };
12 typedef struct ISL_MAYBE(ISL_TYPE) ISL_MAYBE(ISL_TYPE);