summaryrefslogtreecommitdiff
path: root/contrib/python/ldns_packet.i
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/ldns_packet.i')
-rw-r--r--contrib/python/ldns_packet.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/ldns_packet.i b/contrib/python/ldns_packet.i
index c2d7a3b63cca..8309808d3072 100644
--- a/contrib/python/ldns_packet.i
+++ b/contrib/python/ldns_packet.i
@@ -45,7 +45,7 @@
/* Result generation, appends (ldns_pkt *) after the result. */
%typemap(argout,noblock=1) (ldns_pkt **)
{
- $result = SWIG_Python_AppendOutput($result,
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr($1_pkt),
SWIGTYPE_p_ldns_struct_pkt, SWIG_POINTER_OWN | 0 ));
}