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

D bindings: fix mangling error, use improved BindBC-Common API #3201

Merged
merged 11 commits into from
Nov 12, 2023

Conversation

ichordev
Copy link
Contributor

I have no idea why it still shows the 9 commits you already merged, but the last 2 are the new ones. Apparently I have no idea how Git works... :')

Changes:

  1. I fixed a platform-specific mangling error caused by
    a. C++ Itanium mangling distinguishing between long and long long; and
    b. the definition of (u)int64_t arbitrarily being either long or long long.
  2. D function binding generation now uses the improved BindBC-Common API (0.1.0 -> 0.1.1), which is nearly identical while also a lot more extensible for me, and approachable for others.

@ichordev ichordev requested a review from bkaradzic as a code owner November 12, 2023 17:22
@bkaradzic bkaradzic merged commit 9612f6d into bkaradzic:master Nov 12, 2023
13 checks passed
jay3d pushed a commit to jay3d/bgfx that referenced this pull request Dec 7, 2023
…dzic#3201)

* 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
mipek pushed a commit to mipek/bgfx that referenced this pull request Mar 2, 2024
…dzic#3201)

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