Repository navigation
libobs: characterize and extract obs_enum_scenes (Refs #4801) - #4803
Merged
Merged
Conversation
zackees
enabled auto-merge
November 13, 2026 02:09
This was referenced Nov 13, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 13, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 13, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
obs_enum_scenesis still embedded in the core C file. This prerequisite characterizes the exported wrapper and extracts its complete definition verbatim intoobs-enum-scenes.c.h, registered alphabetically in the existing core unity group. It changes no behavior or API and contains no Rust.Fixes #4801. Rust swap follow-up: #4802.
Characterization commit
11342cdd56d5516178036a0633dfcf82c14c275fprecedes extraction. Its two portable cases cover empty enumeration, three public scenes plus a group in creation order, private-scene/input/other-canvas exclusion, agreement with direct main-canvas enumeration, opaque callback state, false-return stopping at every position, one temporary callback reference, independent retained references and balanced release, unchanged source activation/showing and canvas ownership. Groups are deliberately included: their existing source type is SCENE. No audio/video reset, sleeps or render-thread timing assumptions. Teardown removes canvas-owned scenes and drains destruction.Before extraction, the new suite plus unchanged
test_object_refandtest_canvas_signalspassed five repeats against each actual hybrid/C-reference library (30 suite executions). All 1,768 dynamic exports match. A preload mutant that skips delegation failed the populated case at0 != 4(cmocka exit 1); original code passed. C-only characterization/extraction is the prerequisite; Rust RED/GREEN, Tier 1 and original-C Tier 3 belong to #4802. Tier 4 is inapplicable.Extraction commit
c830b99df66d9c2411117dc7e32b22adb6097295moves the complete definition byte-for-byte; the parent differs only by removing that definition. After extraction, the same three suites passed five repeats against each actual library (30 more suite executions), loaded paths matched the intended hybrid/reference libraries and all 1,768 exports still matched. Exactly one fullSOLDR_PORCELAIN=0 ./lintpassed (exit 0); pinned formatting, build-group inventory and Windows cmocka diagnostics are included. Pinned-range self-review andgit diff --checkpassed. Full Tier 2, native Windows/macOS runtime and sanitizers were not run locally; hosted PR CI remains the merge gate../pushpublishes through the required entry point but cannot issue client evidence: installed prooft rejects the newerdataandswiftecosystem declarations in master’s attestation inventory. No workaround was used; ordinary hosted PR CI remains required. Existing C tests, public headers, WebSocket, workflows, shared native graph and Rust test binaries are unchanged. No user-visible behavior change requires a ledger line.