mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user