mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 00:10:43 +00:00
Rebases onto origin/main and retires the paused in-tree native-first workspace, legacy scripts, legacy CI, and native-only docs per ADR 0006 (preserving full history permanently at Git tag native-first-final). Addresses all maintainer review findings on PR #406: - Isolate CrossOver/Wine child process environment in bx-cli (env_clear + minimal allowlist + opt-in --inherit-env, with unit tests) - Replace naive objdump grep in scripts/build-shims.sh with strict PE Export Directory verification (exact names, ordinals, forwarders, 0 extra exports, 0 forbidden MinGW imports across all 16 DLLs / 102 exports) - Restore global * @MacosPorters/maintainers fallback in .github/CODEOWNERS alongside per-track rules - Restore independent-verification, claims/evidence-class, provenance-first, and contributor clean-room protections in AGENTS.md - Unify docs/roadmap.md, CONTRIBUTING.md, README.md, docs/README.md, THIRD_PARTY_NOTICES.md, and CHANGELOG.md around Milestones M0-M6 and ADR 0006 Signed-off-by: ates <ahmetrizaates@hotmail.com>
28 lines
847 B
C
28 lines
847 B
C
#ifndef BETTERXEN_BX_LOG_H
|
|
#define BETTERXEN_BX_LOG_H
|
|
|
|
#include <stdint.h>
|
|
#include "bx_config.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Structured runtime diagnostics exported by bx_runtime_veh.dll and consumed
|
|
* by all other BetterXen shim DLLs (via dynamic lookup or import library).
|
|
*/
|
|
void bx_log_emit(bx_log_level_t level, const char* subsystem, const char* event, const char* detail);
|
|
void bx_log_unimpl_api(const char* dll_name, const char* symbol_name);
|
|
void bx_log_unimpl_vtable(const char* iface_name, uint32_t slot_index, const char* method_name);
|
|
const bx_runtime_config_t* bx_get_runtime_config(void);
|
|
|
|
#define BX_STUB_LOG(dll, sym) bx_log_unimpl_api((dll), (sym))
|
|
#define BX_VTABLE_STUB_LOG(iface, slot, method) bx_log_unimpl_vtable((iface), (slot), (method))
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* BETTERXEN_BX_LOG_H */
|