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

Remove Features from registry #50

Open
loganek opened this issue Jul 4, 2019 · 0 comments
Open

Remove Features from registry #50

loganek opened this issue Jul 4, 2019 · 0 comments
Labels
1.0 API changes for 1.0 release

Comments

@loganek
Copy link
Member

loganek commented Jul 4, 2019

Registry doesn't have to keep track on the features, as they're only required within a timeline. I'd propose changing ht_timeline_set_feature() API to accept destroy callback, i.e.:

HT_API void ht_timeline_set_feature(HT_Timeline* timeline, size_t feature_type_id, void* feature, void(*destroy_feature)(void*));```
@loganek loganek added the 1.0 API changes for 1.0 release label Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0 API changes for 1.0 release
Projects
None yet
Development

No branches or pull requests

1 participant