svn commit: samba r26187 - in branches/SAMBA_4_0: . source/lib/ldb source/lib/talloc

jelmer at samba.org jelmer at samba.org
Wed Nov 28 22:41:35 GMT 2007


Author: jelmer
Date: 2007-11-28 22:41:34 +0000 (Wed, 28 Nov 2007)
New Revision: 26187

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26187

Log:
Fix module name, indentation.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/lib/ldb/ldb.i
   branches/SAMBA_4_0/source/lib/talloc/talloc.i


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/lib/ldb/ldb.i
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb.i	2007-11-28 22:41:29 UTC (rev 26186)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb.i	2007-11-28 22:41:34 UTC (rev 26187)
@@ -513,7 +513,7 @@
 #ifdef SWIGPYTHON
         %typemap(in,numinputs=0) struct ldb_result **result_as_bool (struct ldb_result *tmp) { $1 = &tmp; }
         %typemap(argout) struct ldb_result **result_as_bool { $result = ((*$1)->count > 0)?Py_True:Py_False; }
-                                                                                        %typemap(freearg) struct ldb_result **result_as_bool { talloc_free(*$1); }
+        %typemap(freearg) struct ldb_result **result_as_bool { talloc_free(*$1); }
         ldb_error __contains__(ldb_dn *dn, struct ldb_result **result_as_bool)
         {
             return ldb_search($self, dn, LDB_SCOPE_BASE, NULL, NULL, 

Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.i
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/talloc.i	2007-11-28 22:41:29 UTC (rev 26186)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc.i	2007-11-28 22:41:34 UTC (rev 26187)
@@ -19,6 +19,8 @@
 /* Don't expose talloc contexts in Python code. Python does reference 
    counting for us, so just create a new top-level talloc context.
  */
+%module talloc;
+
 %typemap(in, numinputs=0) TALLOC_CTX * {
     $1 = NULL;
 }



More information about the samba-cvs mailing list