diff options
Diffstat (limited to 'contrib/python')
| -rw-r--r-- | contrib/python/ldns_buffer.i | 2 | ||||
| -rw-r--r-- | contrib/python/ldns_key.i | 2 | ||||
| -rw-r--r-- | contrib/python/ldns_packet.i | 2 | ||||
| -rw-r--r-- | contrib/python/ldns_rdf.i | 2 | ||||
| -rw-r--r-- | contrib/python/ldns_resolver.i | 2 | ||||
| -rw-r--r-- | contrib/python/ldns_rr.i | 2 | ||||
| -rw-r--r-- | contrib/python/ldns_zone.i | 2 |
7 files changed, 7 insertions, 7 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)); } diff --git a/contrib/python/ldns_key.i b/contrib/python/ldns_key.i index dc67e67bf774..6a3c2db4317f 100644 --- a/contrib/python/ldns_key.i +++ b/contrib/python/ldns_key.i @@ -38,7 +38,7 @@ /* result generation */ %typemap(argout,noblock=1) (ldns_key **) { - $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, SWIG_POINTER_OWN | 0 )); + $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, SWIG_POINTER_OWN | 0 )); } %typemap(argout) ldns_rdf *r "Py_INCREF($input);" 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 )); } diff --git a/contrib/python/ldns_rdf.i b/contrib/python/ldns_rdf.i index 39f9af1895cb..ed1f0d009db2 100644 --- a/contrib/python/ldns_rdf.i +++ b/contrib/python/ldns_rdf.i @@ -45,7 +45,7 @@ /* Result generation, appends (ldns_rdf *) after the result. */ %typemap(argout, noblock=1) (ldns_rdf **) { - $result = SWIG_Python_AppendOutput($result, + $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_rdf), SWIGTYPE_p_ldns_struct_rdf, SWIG_POINTER_OWN | 0)); } 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 )); } diff --git a/contrib/python/ldns_rr.i b/contrib/python/ldns_rr.i index 2e0a07140d41..c53955cf9218 100644 --- a/contrib/python/ldns_rr.i +++ b/contrib/python/ldns_rr.i @@ -45,7 +45,7 @@ /* Result generation, appends (ldns_rr *) after the result. */ %typemap(argout, noblock=1) (ldns_rr **) { - $result = SWIG_Python_AppendOutput($result, + $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_rr), SWIGTYPE_p_ldns_struct_rr, SWIG_POINTER_OWN | 0 )); } diff --git a/contrib/python/ldns_zone.i b/contrib/python/ldns_zone.i index bbb8d8f21aeb..3459478ae087 100644 --- a/contrib/python/ldns_zone.i +++ b/contrib/python/ldns_zone.i @@ -39,7 +39,7 @@ /* result generation */ %typemap(argout,noblock=1) (ldns_zone **) { - $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, SWIG_POINTER_OWN | 0 )); + $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, SWIG_POINTER_OWN | 0 )); } %nodefaultctor ldns_struct_zone; //no default constructor & destructor |
