MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / AsUnsignedInteger

Function AsUnsignedInteger

src/Utils.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 return 0;
65 }
66 unsigned int AsUnsignedInteger(const bv_variable& var)
67 {
68 if (bv_type_is_integer(var.type))
69 return bv_variable_get_uint(var);
70 return 0u;
71 }
72 unsigned int AsBool(const bv_variable& var)
73 {
74 if (bv_type_is_integer(var.type))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected