[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: 6/ Automake::Variable & Automake::VarDef
From: |
Alexandre Duret-Lutz |
Subject: |
Re: FYI: 6/ Automake::Variable & Automake::VarDef |
Date: |
Fri, 20 Jun 2003 22:48:47 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
>>> "Hari" == Raja R Harinath <address@hidden> writes:
[...]
>> What I've done is moving (2) into a separate function,
>> Variable::set_seen, so you can call rvar ('FOO')->set_seen
>> to mark a variable as examined in all conditions.
Hari> Isn't there already an API for this: 'examine_variable'.
Hari> Why a new name?
As you noted in a previous mail, examine_variable was just an
alias for variable_defined, so when I removed the latter I also
removed the former. Only later did I realize I really needed
this functionality, and I named it set_seen because it is the
Automake::Variable counterpart of Automake::VarDef::set_seen.
I'll change this back to examine_variable, that's indeed more
readable. Perhaps I should also rename VarDef::set_seen and
VarDef::seen to VarDef::examine and VarDef::examined ?
(Can't work on this before next week, though.)
--
Alexandre Duret-Lutz