Skip to content

Commit e148167

Browse files
author
Prokop Randacek
committed
regenerate the headers
1 parent 6e7a675 commit e148167

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

include/spirv/unified1/spirv.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,6 +1843,9 @@ typedef enum SpvOp_ {
18431843
} SpvOp;
18441844

18451845
#ifdef SPV_ENABLE_UTILITY_CODE
1846+
#if !defined(__cplusplus) && !defined(bool)
1847+
# include <stdbool.h>
1848+
#endif
18461849
inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultType) {
18471850
*hasResult = *hasResultType = false;
18481851
switch (opcode) {

include/spirv/unified1/spirv.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,6 +1839,9 @@ enum Op {
18391839
};
18401840

18411841
#ifdef SPV_ENABLE_UTILITY_CODE
1842+
#if !defined(__cplusplus) && !defined(bool)
1843+
# include <stdbool.h>
1844+
#endif
18421845
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
18431846
*hasResult = *hasResultType = false;
18441847
switch (opcode) {

include/spirv/unified1/spirv.hpp11

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,6 +1839,9 @@ enum class Op : unsigned {
18391839
};
18401840

18411841
#ifdef SPV_ENABLE_UTILITY_CODE
1842+
#if !defined(__cplusplus) && !defined(bool)
1843+
# include <stdbool.h>
1844+
#endif
18421845
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
18431846
*hasResult = *hasResultType = false;
18441847
switch (opcode) {

0 commit comments

Comments
 (0)