hi Miller,
1. Any chance of having an access in the API to c_externdir field
of struct _class? Externals which are not pure dlls, i.e. which
come bundled with additional private resources, would benefit,
because private resources may only be stored robustly relative to
c_externdir.
2. Since neither glob_evalfile(), nor glob_pdobject are part of
the API, what is the proper way of opening patches from within an
external:
a) mimicking glob_evalfile(), i.e. calling binbuf_evalfile(),
popping every s__X.s_thing, and sending a "loadbang" message to
the last one popped (pd_doloadbang() is not in the API), or
b) sending an "open" message to gensym("pd")->s_thing?
Btw, a handy thing would be a way to open patches in an exclusive
mode, which would reject ";pd open name dir" requests if a patch
"name - dir" already exists. Could be a separate "openx" method
or an optional flag to "open" (plus API access).
Krzysztof