diff options
Diffstat (limited to 'contrib/python/ldns_resolver.i')
| -rw-r--r-- | contrib/python/ldns_resolver.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/ldns_resolver.i b/contrib/python/ldns_resolver.i index 8468cce3819b..8d0abc6ea03a 100644 --- a/contrib/python/ldns_resolver.i +++ b/contrib/python/ldns_resolver.i @@ -45,7 +45,7 @@ /* Result generation, appends (ldns_resolver *) after the result. */ %typemap(argout,noblock=1) (ldns_resolver **r) { - $result = SWIG_Python_AppendOutput($result, + $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_res), SWIGTYPE_p_ldns_struct_resolver, SWIG_POINTER_OWN | 0 )); } |
