Skip to content

libobs: Extract obs_source_get_icon_type - #4321

Merged
zackees merged 1 commit into
masterfrom
port/4229-source-icon-type-extraction
Nov 9, 2026
Merged

zackees merged 1 commit into
masterfrom
port/4229-source-icon-type-extraction

Conversation

@zackees

@zackees zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member

Extracts obs_source_get_icon_type into a dedicated C implementation unit and registers it in the existing unity group. This behavior-neutral prerequisite preserves the existing C API and characterization coverage; the Rust swap follows after this extraction lands.

Refs #4229. The Rust port follow-up is #4231 on branch port/4231-source-icon-type.

The branch was rebased onto current master. Formatting and full repository lint passed. The focused C suite passed against both hybrid and C-reference libobs. Existing coverage is supplied by test_module_register_copy_steps. This extraction has no Rust RED/GREEN pair because it preserves the C implementation.

@zackees
zackees enabled auto-merge November 9, 2026 13:31
@zackees
zackees added this pull request to the merge queue Nov 9, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Nov 9, 2026
Move obs_source_get_icon_type verbatim into its own implementation file before the Rust replacement, as required by the testing policy. Existing test_source_u32_field characterizes the real library API.

Refs #4229; Rust follow-up #4231. Branch-only pool delivery.
@zackees
zackees force-pushed the port/4229-source-icon-type-extraction branch from 2023448 to 33891e3 Compare November 9, 2026 18:45
@zackees
zackees merged commit 03f38d6 into master Nov 9, 2026
34 checks passed
@zackees
zackees deleted the port/4229-source-icon-type-extraction branch November 9, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant