[Developers] remove dependency of NaNChecker from MoL
Thomas Radke
tradke at aei.mpg.de
Mon Dec 3 09:52:49 CST 2007
Jian Tao wrote:
> Hi,
>
> Currently, MoL explicit requires NaNChecker. It is better to
> remove the dependency of NaNChecker from MoL by using an alias
> function.
>
> ----------------------------------------------------
> In the interface.ccl of MoL
> ---------------------------
> USES FUNCTION CheckVarsForNaN
In order to keep runtime backwards compatibility MoL should REQUIRE
FUNCTION CheckVarsForNaN.
There is no convention about names for aliased functions but I suggest
to prefix them with the name of the providing thorn/implementation.
> In the interface.ccl of NaNChecker
> ----------------------------------
> PROVIDES FUNCTION CheckVarsForNaN WITH NaNChecker_CheckVarsForNaN
> LANGUAGE C
For completeness, NaNChecker should provide its full API via aliased
functions.
--
Cheers, Thomas.
More information about the Developers
mailing list