[Top][All Lists]
[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
- Re: Patch for fields of `struct buffer', (continued)
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/02/02
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/08
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/02/08
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/08
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/08
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/02/09
- Re: Patch for fields of `struct buffer', Andreas Schwab, 2011/02/08
Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/02/01
Re: Patch for fields of `struct buffer', Juanma Barranquero, 2011/02/02
Re: Patch for fields of `struct buffer', Richard Stallman, 2011/02/13