[PD] [import] in Pd Vanilla
Jonathan Wilkes
jancsika at yahoo.com
Fri Dec 2 18:58:49 CET 2016
> [declare]
How does [declare -lib foo] in current Pd Vanilla compare to [import foo] in
Pd-extended?
In Pd-extended, [import foo] will:a) look for foo.pd_linux (or whatever extensions) to load from searchpathsb) look for foo.pd to load from searchpathsc) run the libdir_loader and look for a directory named "foo" that has a "foo-meta.pd"
patch inside it.
I like "c" because it could easily be changed to load that foo-meta.pd file the same
way the hidden pd-_float gets added. That would be useful for singletons, esp. for
data structures.
-Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20161202/95745960/attachment.html>
More information about the Pd-list
mailing list