Skip to content

rust: Port obs_enum_scenes to obs-core #4802

Closed

Description

@zackees

Unit

Port isolated libobs/obs-enum-scenes.c.h to obs-core, after the C-only prerequisite #4801 lands. Phase 6 core API, following the setter/getter/main-canvas wrapper ports (#4732, #4770, #4785).

Dependencies and existing tests

Preserve exact delegation to obs_canvas_enum_scenes with the borrowed current main canvas, callback identity and opaque parameter. Do not acquire canvas ownership, wrap or reinterpret callback results, prevalidate arguments or port the downstream canvas enumeration. The prerequisite adds C characterization; preserve it unchanged. A small stacked draft may be prepared on the extraction head, unarmed until its base lands.

Acceptance

Commit failing safe Tier 1 tests against a stub before GREEN. Mirror every prerequisite C assertion in the existing Core category binary. Add a thin ABI shim, original-C oracle, measured layout coverage, property parity and a mutation check. Replay unchanged C characterization and relevant suites on both actual libraries and compare dynamic exports. Move only this extracted include into a new per-unit reference unity group and register export/link support. No existing C tests, public headers, WebSocket, workflows or Rust test executable changes. Tier 4 inapplicable; no intentional behavior differences.

Activity

  1. added
    enhancement
    port
    ready
    on Nov 13, 2026
  2. zackees commented on Nov 13, 2026

    @zackees
    MemberAuthor

    Claiming: obs_enum_scenes Rust swap; pool worker port-next-6, branch port/4802-enum-scenes. 1. Commit and observe safe Tier 1 RED in the existing Core category. 2. Add exact delegation, ABI/layout/original-C differential and mutation checks, replay unchanged C tests on both actual libraries. 3. Open a stacked DRAFT on extraction #4803, unarmed until its base lands. First draft expected within this worker session.

  3. moved this from In progress to Ready in obs-rust Multiviewon Nov 14, 2026
  4. rdoupe commented on Nov 16, 2026

    @rdoupe
    Collaborator

    Done on master by #4804, which landed this swap but said "Refs", so the issue stayed open. Closing it so it no longer shows as unclaimed Ready work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementportready

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions