Skip to content
Snippets Groups Projects

vlcrs-core: object: add Object::new()

Merged Alexandre Janniaux requested to merge alexandre-janniaux/vlc:object-rust/1 into master
All threads resolved!

This allows creating objects from existing objects (in a libvlc tree) or dummy objects (parent = None) for tests, and provide the Drop implementation to delete the objects when they go out of scope.

The implementation is specifically made to be too restrictive for now, which makes it unpractical to other use case than creating tests, since we cannot guarantee the correct usage of the object tree as it is otherwise.

Merge request reports

Merge request pipeline #559653 passed

Merge request pipeline passed for 76dee610

Test coverage 17.73% (0.00%) from 1 job
Approval is optional

Merged by Alexandre JanniauxAlexandre Janniaux 2 months ago (Jan 27, 2025 12:32pm UTC)

Merge details

  • Changes merged into master with 76dee610.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #559666 passed

Pipeline passed for 76dee610 on master

Test coverage 17.96% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading