Rev 12013: Couple of small cleanups. in
file:///home/jelmer/bzr.samba-old/python/
Jelmer Vernooij
jelmer at samba.org
Fri Jun 1 14:57:00 GMT 2007
At file:///home/jelmer/bzr.samba-old/python/
------------------------------------------------------------
revno: 12013
revision-id: jelmer at samba.org-20070601145642-0y0fvlcg4eg6jh9u
parent: jelmer at samba.org-20070508215744-bw3ibeqsypztyvv3
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: python
timestamp: Fri 2007-06-01 16:56:42 +0200
message:
Couple of small cleanups.
modified:
source/scripting/python/parammodule.c param.c-20070425124147-y6pej29g7xqsb3n6-1
source/scripting/python/talloc.c talloc.c-20070508214200-ruf43htj5k9dlrwj-1
=== modified file 'source/scripting/python/parammodule.c'
--- a/source/scripting/python/parammodule.c 2007-05-08 21:57:44 +0000
+++ b/source/scripting/python/parammodule.c 2007-06-01 14:56:42 +0000
@@ -80,7 +80,6 @@
PyObject *loadparm_object(void)
{
-
return NULL; /* FIXME */
}
@@ -91,5 +90,5 @@
return;
/* FIXME: Check error code */
- /*PyModule_AddObject(mod, "default_config", loadparm_object());*/
+ PyModule_AddObject(mod, "global_params", loadparm_object());
}
=== modified file 'source/scripting/python/talloc.c'
--- a/source/scripting/python/talloc.c 2007-05-08 21:57:44 +0000
+++ b/source/scripting/python/talloc.c 2007-06-01 14:56:42 +0000
@@ -21,10 +21,11 @@
*/
#include "includes.h"
-#include "scripting/ejs/smbcalls.h"
#include "Python.h"
#include "param/param.h"
+#include "scripting/python/talloc.h"
-TALLOC_CTX *PyMemCtx() {
+TALLOC_CTX *PyMemCtx(void)
+{
return talloc_autofree_context();
}
More information about the samba-cvs
mailing list