Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix random, erroneous D binding type generation; add missing IDL defaults #3210

Merged
merged 15 commits into from
Dec 2, 2023

Conversation

ichordev
Copy link
Contributor

@ichordev ichordev commented Dec 2, 2023

  • Fixed c_uint64 being generated as uc_int64 at random, due to non-deterministic hash-map iteration ordering in Lua.
  • Added 2 missing default arguments to bgfx.idl.
  • Re-generated bindings with new bgfx.idl.

@ichordev ichordev requested a review from bkaradzic as a code owner December 2, 2023 18:04
@bkaradzic bkaradzic merged commit ae4b0cd into bkaradzic:master Dec 2, 2023
13 checks passed
jay3d pushed a commit to jay3d/bgfx that referenced this pull request Dec 7, 2023
…ults (bkaradzic#3210)

* 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.

* Fix mangling issue; use updated BindBC-Common API

* Add missing default to setTransform in IDL

* Fix erroneous generation of `uc_int64`

Non-deterministic ordering of hash-maps were the culprit all along!

* Add missing default to overrideInternal IDL & re-generate
mipek pushed a commit to mipek/bgfx that referenced this pull request Mar 2, 2024
…ults (bkaradzic#3210)

* 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.

* Fix mangling issue; use updated BindBC-Common API

* Add missing default to setTransform in IDL

* Fix erroneous generation of `uc_int64`

Non-deterministic ordering of hash-maps were the culprit all along!

* Add missing default to overrideInternal IDL & re-generate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants