Skip to content

frontend, libobs: Add OBSProperties OBSPtr type #12231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cg2121
Copy link
Contributor

@cg2121 cg2121 commented May 31, 2025

Description

We no longer have to manually destroy obs_properties_t.

Motivation and Context

RAII is better

How Has This Been Tested?

Opened properties in different places of OBS to make sure nothing broke.

Types of changes

  • Code cleanup (non-breaking change which makes code smaller or more readable)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

We no longer have to manually destroy obs_properties_t.
@cg2121 cg2121 added UI/UX Anything to do with changes or additions to UI/UX elements. Code Cleanup Non-breaking change which makes code smaller or more readable labels May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Non-breaking change which makes code smaller or more readable UI/UX Anything to do with changes or additions to UI/UX elements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant