r26570: - Trim size of the swig-generated Python bindings by removing a bunch of...
[idra/samba.git] / source4 / auth / credentials / credentials.i
index 78660bc46cb01d3e1ea4783386cf0b7adc2c13f8..b06c4ff6da51b1a43209a77fa7a0313dfddf28fb 100644 (file)
@@ -34,7 +34,7 @@ typedef struct cli_credentials cli_credentials;
 %import "typemaps.i"
 %import "param/param.i"
 
-%typemap(default) struct cli_credentials * {
+%typemap(default,noblock=1) struct cli_credentials * {
     $1 = NULL;
 }
 
@@ -42,7 +42,7 @@ typedef struct cli_credentials cli_credentials;
 #include "librpc/gen_ndr/samr.h" /* for struct samr_Password */
 %}
 
-%typemap(out) struct samr_Password * {
+%typemap(out,noblock=1) struct samr_Password * {
     $result = PyString_FromStringAndSize($1->hash, 16);
 }