Skip to content
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

Fix object conversions #47

Merged
merged 2 commits into from
Nov 18, 2023
Merged

Fix object conversions #47

merged 2 commits into from
Nov 18, 2023

Conversation

chris-zen
Copy link
Owner

@chris-zen chris-zen commented Nov 18, 2023

  • Removes the capability to convert between different types of objects.
  • Allows to clone Device, Entity, Source and Destination because they are just object references which lifetime is managed by CoreMIDI.
  • Introduces the type AnyObject that can encapsulate different types of objects as needed by the Notifications

BREAKING CHANGES:

  • The Notifications structs change from using ObjectType/Object to using AnyObject.
  • Several From conversions are removed.

@chris-zen chris-zen changed the title Fix Object conversions Fix object conversions Nov 18, 2023
@chris-zen chris-zen merged commit 3a9f51a into master Nov 18, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant