From: Jelmer Vernooij Date: Mon, 24 Dec 2007 01:19:41 +0000 (-0600) Subject: r26570: - Trim size of the swig-generated Python bindings by removing a bunch of... X-Git-Tag: samba-3.3.0pre1~3467^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a146145c28cc355fed47b8a1f322311ffc1a51ab;p=thirdparty%2Fsamba.git r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (cherry picked from talloc part of commit c550c03372cb260b78f6a6c132e70571bc4cb852) Michael --- diff --git a/source/lib/talloc/talloc.i b/source/lib/talloc/talloc.i index c852ae8f9fd..a9afb97ed76 100644 --- a/source/lib/talloc/talloc.i +++ b/source/lib/talloc/talloc.i @@ -19,7 +19,7 @@ /* Don't expose talloc contexts in Python code. Python does reference counting for us, so just create a new top-level talloc context. */ -%typemap(in, numinputs=0) TALLOC_CTX * { +%typemap(in, numinputs=0, noblock=1) TALLOC_CTX * { $1 = NULL; }