# HG changeset patch # User Paul Boddie # Date 1490400694 -3600 # Node ID 08cde2ca66ca7515c96a602b6352ddb81fdd6d2c # Parent fd57abd7f631a510dada8424f60044cb802a15ac Fixed function signatures. diff -r fd57abd7f631 -r 08cde2ca66ca templates/ops.c --- a/templates/ops.c Sat Mar 25 01:07:08 2017 +0100 +++ b/templates/ops.c Sat Mar 25 01:11:34 2017 +0100 @@ -329,7 +329,7 @@ return __get_function_unwrapped(context, __unwrap_callable(target)); } -__attr (*__get_function_unwrapped(__attr context, __attr target))(__attr[]) +__attr (*__get_function_unwrapped(__attr context, __attr target))() { /* Require null or instance contexts for functions and methods respectively, or type instance contexts for type methods. */ @@ -345,7 +345,7 @@ return __check_and_get_function_unwrapped(context, __unwrap_callable(target)); } -__attr (*__check_and_get_function_unwrapped(__attr context, __attr target))(__attr[]) +__attr (*__check_and_get_function_unwrapped(__attr context, __attr target))() { /* Require null or instance contexts for functions and methods respectively, or type instance contexts for type methods. */