summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/modules/IcePy/Slice.cpp3
-rw-r--r--py/modules/IcePy/Slice.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/py/modules/IcePy/Slice.cpp b/py/modules/IcePy/Slice.cpp
index 4ca28955b77..b5f6457a391 100644
--- a/py/modules/IcePy/Slice.cpp
+++ b/py/modules/IcePy/Slice.cpp
@@ -25,7 +25,7 @@ using namespace Slice::Python;
extern "C"
PyObject*
-Ice_loadSlice(PyObject* /*self*/, PyObject* args)
+IcePy_loadSlice(PyObject* /*self*/, PyObject* args)
{
char* cmd;
if(!PyArg_ParseTuple(args, "s", &cmd))
@@ -118,6 +118,7 @@ Ice_loadSlice(PyObject* /*self*/, PyObject* args)
//
ostringstream codeStream;
IceUtil::Output out(codeStream);
+ out.setUseTab(false);
generate(unit, all, out);
unit->destroy();
diff --git a/py/modules/IcePy/Slice.h b/py/modules/IcePy/Slice.h
index 95bcece4bd4..4fb099dcec5 100644
--- a/py/modules/IcePy/Slice.h
+++ b/py/modules/IcePy/Slice.h
@@ -12,6 +12,6 @@
#include <Python.h>
-extern "C" PyObject* Ice_loadSlice(PyObject*, PyObject*);
+extern "C" PyObject* IcePy_loadSlice(PyObject*, PyObject*);
#endif