Recompile the Bink custom allocation and release callbacks #91
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/92"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T15:49:08Z.
Follow-up to #74 and #88. Translate the callback setter together with the allocation and release paths. Bind the two writable slots identified by the setter, and call the release function selected by the translated caller from the live block.
Windows verification used the locally translated callers, a source-built native control and its translation. Each test kept two custom blocks live, checked the saved release addresses and guarded payloads, then replaced or cleared the installed callbacks before releasing each original base exactly once. A null custom return fell back to XMemAlloc and was released once by XMemFree. Additional cases covered failure of both attempts and an explicit custom refusal.
The existing default-allocator cases remain in the same CTest. CI exercises the native and translated public controls. The local package and generated translations are excluded.