>>>> "WMP" == William M Perry
<wmperry(a)aventail.com> writes:
WMP> Olivier Galibert <galibert(a)pobox.com> writes:
> > I leave the choice to Olivier.
>
> I'd rather not put it back and leave the rest in the broken state it
> was in. Whoever wants to define new types in modules, tell me the
> kind of interface you'd like to have and I'll implement it (and ensure
> that the dumper deals with it). Remember that we somehow need the
> DEFINE/DECLARE/INIT trilogy.
WMP> You can't do versions as functions very easily since they do a bunch of
WMP> preprocessor magic. Steve's postgres stuff is definitely going to need
WMP> this functionality. As would most of the modules I want to work on. :)
If the modules ship with XEmacs, we unconditionally add an object type
constant symbol to enum lrecord_type, and then the .c file for that
object type should be able to do DEFINE/DECLARE/INIT whether it is
modulated or not.
It's only a problem for object types defined in C code not shipping
with XEmacs. Steve's postgres code should work fine.
Martin