diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-07 19:29:28 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-07 19:29:28 -0700 |
commit | ed104dd48299712450c289908ec43f6e49468959 (patch) | |
tree | cbd36fd846b218c10b53fc1fb864d2b9e99431f5 /lib.c | |
parent | 85e80eb7f9dcc3e24b8a2d618525a4ce901d3982 (diff) | |
download | txr-ed104dd48299712450c289908ec43f6e49468959.tar.gz txr-ed104dd48299712450c289908ec43f6e49468959.tar.bz2 txr-ed104dd48299712450c289908ec43f6e49468959.zip |
Avoid unnecessary evaluation in argument defaulting.
* lib.h (default_arg): Inline function becomes macro,
so we can avoid evaluating the default value expression
when it is not needed.
* lib.c (default_arg): Declaration removed.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -140,7 +140,6 @@ val chr(wchar_t ch); val eq(val a, val b); val null(val v); int null_or_missing_p(val v); -val default_arg(val arg, val dfl); val default_bool_arg(val arg); #endif |