[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: globals.h
From: |
Tom Tromey |
Subject: |
Re: globals.h |
Date: |
Wed, 26 Jan 2011 15:00:26 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
>>>>> "Stefan" == Stefan Monnier <address@hidden> writes:
Stefan> The new globals.h is inconvenient as it is: adding o removing a global
Stefan> variable is kind of a pain. Could someone change it so that globals.h
Stefan> is auto-generated, based on macro calls in the C files like:
Stefan> GLOBAL_VAR(Lisp_Object, Vfoo);
Stefan> which would get expanded to nothing, but would tell the scripot about
Stefan> the new Vfoo global var.
You don't even need a new macro, the script could just look for the
DEFVAR_{LISP,INT,BOOL} invocations.
Tom
- globals.h, Stefan Monnier, 2011/01/26
- Re: globals.h,
Tom Tromey <=