From 8b06312f7eeff5ea8625677478792888774bd2be Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 24 Oct 2008 13:13:27 +0200 Subject: Eliminate another instance of global_loadparm. --- source4/scripting/python/modules.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/scripting') diff --git a/source4/scripting/python/modules.h b/source4/scripting/python/modules.h index 238c73455f..6b242ee257 100644 --- a/source4/scripting/python/modules.h +++ b/source4/scripting/python/modules.h @@ -23,4 +23,6 @@ void py_load_samba_modules(void); void py_update_path(const char *bindir); +#define py_iconv_convenience(mem_ctx) smb_iconv_convenience_init(mem_ctx, "ASCII", PyUnicode_GetDefaultEncoding(), true) + #endif /* __SAMBA_PYTHON_MODULES_H__ */ -- cgit