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
request Add 'PD_FLAVOR' = VANILLA to m_pd.h #1898
Comments
I think for your use case you would need to get the "flavor" at runtime - which would require an API function, e.g. The macro |
that should be better indeed. should I try and give it a shot? |
this would be just like 'sys_getversion' right? |
Yes! I am wondering, what exactly could you do with the "flavor" information? In other words: can you give an example of an else object that would behave differently in Purr Data, and if yes, how so? |
What I would find more useful: a function like
A similar technique is used by VST plugins resp. VST hosts to add their own (optional) extensions. |
I don't have a great example, best I have is warn people what objects have been ported yet :) |
actually this idea first came up with abstractions that don't show up correctly in Purr Data so you use this information to correct the offset for iemguis, not a great example either. not great examples aside, seems like a cool thing to have I already have proposed [pdcontrol] to output PD version, could be nice if it could give us the flavor too :) |
|
Hi, I gave this idea to Purr Data to add it's flavor to its m_pd.h file and I'm also suggresting other forks to do the same, see --> https://github.com/agraef/purr-data/blob/pd-else/pd/src/m_pd.h#L23
This way I easily can know in my code if I am loading an external in Vanilla or some other flavor and the whole thing may be standardized.
The text was updated successfully, but these errors were encountered: