On Sat, 27 Oct 2007, Hans-Christoph Steiner wrote:
Duh... thanks. It now compiles and runs, but sadly, this doesn't work: Both of them returned "entry" as the class, even when I loaded with a namespace prefix.
I don't really know how your namespace system works. Do you have any field that is set with that prefix? you could lookup ->c_externdir->s_name, but it stores only the absolute dirname, which is too much.
There's at least one version of the namespace system that was putting the prefix in ->c_name because DesireData's class browser was broken by such a change, back in devel_0_39 days.
Now that I think of it, you could try:
binbuf_getvec(((t_text *)x)->te_binbuf)[0]->a_w.w_symbol->s_name
or something like that.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada