emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for fields of `struct buffer'


From: Stefan Monnier
Subject: Re: Patch for fields of `struct buffer'
Date: Fri, 11 Feb 2011 21:25:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I looked at the defsubr thing a bit.

> It could be done either with a new program or with some modifications to
> make-docfile.  It is a little different than the globals.h problem since
> there are DEFUNs that are protected by #if.

That would be nice.

> My implementation idea is to track #if/#else/#endif, and then for a
> source file foo.c, emit a `foo.inc' that has a single function that
> contains calls to defsubr, with each defsubr bracketed by the same #if
> logic as the DEFUN.

Sounds like a good approach, yes.  Tho I think it'd be simpler to create
a single init_subrs.c file.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]