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

Add new API call OfxSetHost #53

Merged
merged 8 commits into from
Apr 18, 2020
Merged

Add new API call OfxSetHost #53

merged 8 commits into from
Apr 18, 2020

Conversation

revisionfx
Copy link
Contributor

Adds OfxSetHost and a few doc notes

Please read the contribution guidelines.

Description

Please provide a description of what this PR is meant to fix, and link it to the corresponding open issue with its tag.
Also explain how it works (if it's not going to be very clear from the code).

Adds OfxSetHost and a few doc notes
include/ofxCore.h Outdated Show resolved Hide resolved
host's instead of your
include/ofxCore.h Outdated Show resolved Hide resolved
* This host call is not specified in earlier implementation of the API.
* Therefore host must check if the plugin implemented it and not assume symbol exists.
* The order of calls is then: 1) OfxGetHost, 2) OfxGetNumberOfPlugins, 3) OfxGetPlugin
* This pointer is only assumed valid until OfxGetPlugin where it might get reset.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The host pointer

include/ofxCore.h Outdated Show resolved Hide resolved
include/ofxCore.h Outdated Show resolved Hide resolved
Fixed comments as per GaryO's suggestions
@garyo garyo changed the base branch from master to feature/set_host October 8, 2019 18:36
@garyo garyo changed the title Update ofxCore.h - OfxSetHost Add new API call OfxSetHost Oct 8, 2019
Had reverted somehow to SetHost, reset to agreed GetHost
Fixed a note for OfxGetHost
@garyo
Copy link
Contributor

garyo commented Apr 18, 2020

The documentation has not been updated for this change. However, rather than make this take even longer to merge, I'll update the doc as a separate commit after merging this shortly.

@garyo garyo merged commit 4f48cce into feature/set_host Apr 18, 2020
@garyo
Copy link
Contributor

garyo commented Apr 18, 2020

See standard-change proposal at #71

@garyo
Copy link
Contributor

garyo commented Apr 18, 2020

Note that this has not been merged into master -- only onto a feature branch, pending resolution of open questions and final approval.

garyo added a commit that referenced this pull request Apr 19, 2020
garyo added a commit that referenced this pull request Apr 19, 2020
@garyo garyo deleted the features/set_host branch February 24, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants