karlheg(a)inetarena.com (Karl M. Hegbloom) writes:
>>>>> "William" == William M Perry
<wmperry(a)aventail.com> writes:
William> Do all platforms have the idea of an 'initialization'
William> function for dynamic libraries? I know most elf systems
William> do with _init and _fini, and windows has DllMain. It
William> would be nice to just hook into that for doing the
William> DEFSUBR() and things instead of having the somewhat
William> arbitrary emacs_initializate function name.
After those init sections are executed, are they released from RAM?
I imagine they must be... it just makes sense.
They are not sections in the binary file. It is just a normal function,
same as any other, so would stay resident.
William> [...] putting some of the core functionality of
XEmacs in
William> a libxemacs.so or something like that. I don't know if
William> that's worth it or not though.
I think it would be. You could then write a small editor/lisp with
no display code for running scripts with.
Hadn't thought of that. Hmmm...
-Bill P.