Files
betterxen/abi
devil8blade 2e895e0f9b Export GDK dynamic loader entry points from xgameruntime.dll
The static loader resolves InitializeApiImpl, InitializeApiImplEx,
InitializeApiImplEx2, UninitializeApiImpl, QueryApiImpl, and XErrorReport
with GetProcAddress. Those initialize entry points share the existing
runtime refcount with XGameRuntimeInitialize and
XGameRuntimeInitializeWithOptions. UninitializeApiImpl releases that same
state. QueryApiImpl dispatches the offline families this DLL already
implements and logs any other class or interface. XErrorReport records
the code and message and does not terminate the process.

Closes #439

Signed-off-by: devil8blade <360741796+devil8blade@users.noreply.github.com>
2026-11-26 15:38:34 +00:00
..

BetterXen Frozen ABI Contracts (abi/)

This directory holds the only shared interface boundary across BetterXen's six parallel development tracks.

Rules for Contributors

  1. ABI-First Changes: If one track needs a new cross-DLL helper, config flag, or export symbol, open a small, focused [ABI] pull request touching only abi/.
  2. Zero File Collisions: Never edit another track's implementation directory in an [ABI] PR. Once the [ABI] PR merges to main, both provider and consumer tracks implement in parallel.
  3. Versioned Contracts: Increment BX_ABI_VERSION in abi/include/bx_config.h on any breaking struct or signature change.
  4. Canonical .def Exports: Every DLL under shims/ links directly against its corresponding abi/defs/<name>.def. CI verifies the built PE32+ export table matches these .def files.