Dawn/src/dawnshared/util/flag.hpp
2023-06-09 09:04:45 -07:00

15 lines
344 B
C++

// Copyright (c) 2022 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "dawnsharedlibs.hpp"
typedef uint_fast8_t flag8_t;
typedef uint_fast16_t flag16_t;
typedef uint_fast32_t flag32_t;
typedef flag32_t flag_t;
#define FLAG_DEFINE(n) (1 << n)