Lichen

Changeset

768:08cde2ca66ca
2017-03-25 Paul Boddie raw files shortlog changelog graph Fixed function signatures. normal-function-parameters
templates/ops.c (file)
     1.1 --- a/templates/ops.c	Sat Mar 25 01:07:08 2017 +0100
     1.2 +++ b/templates/ops.c	Sat Mar 25 01:11:34 2017 +0100
     1.3 @@ -329,7 +329,7 @@
     1.4      return __get_function_unwrapped(context, __unwrap_callable(target));
     1.5  }
     1.6  
     1.7 -__attr (*__get_function_unwrapped(__attr context, __attr target))(__attr[])
     1.8 +__attr (*__get_function_unwrapped(__attr context, __attr target))()
     1.9  {
    1.10      /* Require null or instance contexts for functions and methods respectively,
    1.11         or type instance contexts for type methods. */
    1.12 @@ -345,7 +345,7 @@
    1.13      return __check_and_get_function_unwrapped(context, __unwrap_callable(target));
    1.14  }
    1.15  
    1.16 -__attr (*__check_and_get_function_unwrapped(__attr context, __attr target))(__attr[])
    1.17 +__attr (*__check_and_get_function_unwrapped(__attr context, __attr target))()
    1.18  {
    1.19      /* Require null or instance contexts for functions and methods respectively,
    1.20         or type instance contexts for type methods. */