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