]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Replace deprecated $function by new $action 1331/head
authorJitka Plesnikova <jplesnik@redhat.com>
Mon, 8 Sep 2025 08:11:49 +0000 (10:11 +0200)
committerJitka Plesnikova <jplesnik@redhat.com>
Mon, 8 Sep 2025 08:11:49 +0000 (10:11 +0200)
The long-deprecated $function was removed from future SWIG 4.4.0.
It can be safely replaced by $action.

libunbound/python/libunbound.i

index dc125146c0f04b1a7754a1bbbca453b1be2f8737..9ed1be90bc349167754297e119b6381e2bc20923 100644 (file)
@@ -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");
 %}