From: Jitka Plesnikova Date: Mon, 8 Sep 2025 08:11:49 +0000 (+0200) Subject: Replace deprecated $function by new $action X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1331%2Fhead;p=thirdparty%2Funbound.git Replace deprecated $function by new $action The long-deprecated $function was removed from future SWIG 4.4.0. It can be safely replaced by $action. --- diff --git a/libunbound/python/libunbound.i b/libunbound/python/libunbound.i index dc125146c..9ed1be90b 100644 --- a/libunbound/python/libunbound.i +++ b/libunbound/python/libunbound.i @@ -853,7 +853,7 @@ Result: ['74.125.43.147', '74.125.43.99', '74.125.43.103', '74.125.43.104'] %{ //printf("resolve_start(%lX)\n",(long unsigned int)arg1); Py_BEGIN_ALLOW_THREADS - $function + $action Py_END_ALLOW_THREADS //printf("resolve_stop()\n"); %}