mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Culled D bindings for header-only C++ functions (#3130)
* Reformatted comments; fixed a couple of oversights * D bindings: deterministic sub-struct order * Added missing default to IDL * Fixed sub-struct linkage; regenerate D binds * Culled D bindings for header-only C++ functions * Added missing default to bgfx.idl * cppinline now supported by all auto-gen bindings The pattern "func.cppinline and not func.conly" is to make sure that C bindings for `bgfx_vertex_layout_has` are still generated.
This commit is contained in:
@@ -387,6 +387,8 @@ function converter.funcs(func)
|
||||
|
||||
if func.cpponly then
|
||||
return
|
||||
elseif func.cppinline and not func.conly then
|
||||
return
|
||||
end
|
||||
|
||||
if func.comments ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user