source: Daodan/MSYS2/mingw32/include/isl/maybe_templ.h@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 358 bytes
RevLine 
[1166]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 */
8struct ISL_MAYBE(ISL_TYPE) {
9 isl_bool valid;
10 ISL_TYPE *value;
11};
12typedef struct ISL_MAYBE(ISL_TYPE) ISL_MAYBE(ISL_TYPE);
Note: See TracBrowser for help on using the repository browser.