D bindings: Mark enum conversion functions nothrow @nogc pure @safe (#3272)

* Fix error in dynamic version of D bindings

Dazed and confused but trying to continue

* Fix dispatch_indirect still using uint16_t in bgfx.idl

* D bindings: Mark enum conv. functions `nothrow @nogc pure @safe`
This commit is contained in:
IchorDev
2024-03-22 00:49:01 +10:00
committed by GitHub
parent 4cb7b7138a
commit e1077e376e
2 changed files with 6 additions and 6 deletions

View File

@@ -749,7 +749,7 @@ extern(C++, "bgfx") package final abstract class %s{
if typ.helper then
yield(string.format(
"%s_ to%s(%s v){ return (v << %s) & %s; }",
"%s_ to%s(%s v) nothrow @nogc pure @safe{ return (v << %s) & %s; }",
typeName,
typeName,
enumType,