1.1 --- a/templates/progops.c Mon Jan 30 22:32:38 2017 +0100
1.2 +++ b/templates/progops.c Mon Jan 30 22:34:46 2017 +0100
1.3 @@ -1,6 +1,6 @@
1.4 /* Operations depending on program specifics.
1.5
1.6 -Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -243,9 +243,7 @@
1.12
1.13 /* Call with the prepared arguments. */
1.14
1.15 - return (always_callable ? __load_via_object(callable.value, __pos___fn__)
1.16 - : __check_and_load_via_object(callable.value, __pos___fn__, __code___fn__)
1.17 - ).fn(allargs);
1.18 + return (always_callable ? __get_function(callable) : __check_and_get_function(callable))(allargs);
1.19 }
1.20
1.21 /* Error routines. */