Martin Peach wrote:
Have a look at the source for [mrpeach/which] in svn. I took some code from Pd internals and it calls some more, but maybe not _way_ too much.
thanks for the hints, but this is even more "ugly" (no harm intended) than what i already have. i really want to be agnostic about which extension the library has (just image miller adds a new extension; or hans removes .l_i386 from PdX and i will actually find the wrong binary)
i currently create a fake instance of myself and check the c_externdir in this object..
fsa IOhannes
What's missing from it is a way to know if a name refers to an internal.
Martin
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev