summaryrefslogtreecommitdiff
path: root/python/modules
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-11-12 18:25:33 -0500
committerBernard Normier <bernard@zeroc.com>2016-11-12 18:25:33 -0500
commit838539aff5bf3f37f4d9a6f33713824e98fa3db3 (patch)
tree57cac4a47a00697d6f0011d9aff8f76d6994f2ed /python/modules
parentMSBuild project updates (diff)
downloadice-838539aff5bf3f37f4d9a6f33713824e98fa3db3.tar.bz2
ice-838539aff5bf3f37f4d9a6f33713824e98fa3db3.tar.xz
ice-838539aff5bf3f37f4d9a6f33713824e98fa3db3.zip
Replaced non-public double underscores in C++
Diffstat (limited to 'python/modules')
-rw-r--r--python/modules/IcePy/Operation.cpp6
-rw-r--r--python/modules/IcePy/Proxy.cpp2
-rw-r--r--python/modules/IcePy/Types.cpp20
-rw-r--r--python/modules/IcePy/Types.h31
4 files changed, 28 insertions, 31 deletions
diff --git a/python/modules/IcePy/Operation.cpp b/python/modules/IcePy/Operation.cpp
index c8dad9a0c96..3b62b8aef59 100644
--- a/python/modules/IcePy/Operation.cpp
+++ b/python/modules/IcePy/Operation.cpp
@@ -2114,7 +2114,7 @@ IcePy::AsyncTypedInvocation::end(const Ice::ObjectPrx& proxy, const OperationPtr
{
AllowThreads allowThreads; // Release Python's global interpreter lock during blocking operations.
- ok = proxy->___end_ice_invoke(results, r);
+ ok = proxy->_iceI_end_ice_invoke(results, r);
}
if(ok)
@@ -2803,7 +2803,7 @@ IcePy::AsyncBlobjectInvocation::end(const Ice::ObjectPrx& proxy, const Ice::Asyn
{
AllowThreads allowThreads; // Release Python's global interpreter lock during blocking operations.
- ok = proxy->___end_ice_invoke(results, r);
+ ok = proxy->_iceI_end_ice_invoke(results, r);
}
//
@@ -4142,7 +4142,7 @@ IcePy::TypedServantWrapper::ice_invoke_async(const Ice::AMD_Object_ice_invokePtr
//
if(!op->pseudoOp)
{
- __checkMode(op->mode, current.mode);
+ _iceCheckMode(op->mode, current.mode);
}
UpcallPtr up = new TypedUpcall(op, cb, current.adapter->getCommunicator());
diff --git a/python/modules/IcePy/Proxy.cpp b/python/modules/IcePy/Proxy.cpp
index d9b2704b2a8..0d1c11bb082 100644
--- a/python/modules/IcePy/Proxy.cpp
+++ b/python/modules/IcePy/Proxy.cpp
@@ -164,7 +164,7 @@ extern "C"
static long
proxyHash(ProxyObject* self)
{
- return static_cast<long>((*self->proxy)->__hash());
+ return static_cast<long>((*self->proxy)->_hash());
}
#ifdef WIN32
diff --git a/python/modules/IcePy/Types.cpp b/python/modules/IcePy/Types.cpp
index 59be1eb8ab5..2f81d25443c 100644
--- a/python/modules/IcePy/Types.cpp
+++ b/python/modules/IcePy/Types.cpp
@@ -3232,7 +3232,7 @@ IcePy::ObjectWriter::ice_preMarshal()
}
void
-IcePy::ObjectWriter::__write(Ice::OutputStream* os) const
+IcePy::ObjectWriter::_iceWrite(Ice::OutputStream* os) const
{
Ice::SlicedDataPtr slicedData;
@@ -3266,7 +3266,7 @@ IcePy::ObjectWriter::__write(Ice::OutputStream* os) const
}
void
-IcePy::ObjectWriter::__read(Ice::InputStream*)
+IcePy::ObjectWriter::_iceRead(Ice::InputStream*)
{
assert(false);
}
@@ -3341,13 +3341,13 @@ IcePy::ObjectReader::ice_postUnmarshal()
}
void
-IcePy::ObjectReader::__write(Ice::OutputStream*) const
+IcePy::ObjectReader::_iceWrite(Ice::OutputStream*) const
{
assert(false);
}
void
-IcePy::ObjectReader::__read(Ice::InputStream* is)
+IcePy::ObjectReader::_iceRead(Ice::InputStream* is)
{
is->startValue();
@@ -3735,7 +3735,7 @@ IcePy::ExceptionWriter::ice_throw() const
}
void
-IcePy::ExceptionWriter::__write(Ice::OutputStream* os) const
+IcePy::ExceptionWriter::_write(Ice::OutputStream* os) const
{
AdoptThread adoptThread; // Ensure the current thread is able to call into Python.
@@ -3743,12 +3743,12 @@ IcePy::ExceptionWriter::__write(Ice::OutputStream* os) const
}
void
-IcePy::ExceptionWriter::__read(Ice::InputStream*)
+IcePy::ExceptionWriter::_read(Ice::InputStream*)
{
}
bool
-IcePy::ExceptionWriter::__usesClasses() const
+IcePy::ExceptionWriter::_usesClasses() const
{
return _info->usesClasses;
}
@@ -3790,13 +3790,13 @@ IcePy::ExceptionReader::ice_throw() const
}
void
-IcePy::ExceptionReader::__write(Ice::OutputStream*) const
+IcePy::ExceptionReader::_write(Ice::OutputStream*) const
{
assert(false);
}
void
-IcePy::ExceptionReader::__read(Ice::InputStream* is)
+IcePy::ExceptionReader::_read(Ice::InputStream* is)
{
AdoptThread adoptThread; // Ensure the current thread is able to call into Python.
@@ -3808,7 +3808,7 @@ IcePy::ExceptionReader::__read(Ice::InputStream* is)
}
bool
-IcePy::ExceptionReader::__usesClasses() const
+IcePy::ExceptionReader::_usesClasses() const
{
return _info->usesClasses;
}
diff --git a/python/modules/IcePy/Types.h b/python/modules/IcePy/Types.h
index 921047496b9..5933c6dd234 100644
--- a/python/modules/IcePy/Types.h
+++ b/python/modules/IcePy/Types.h
@@ -554,8 +554,8 @@ public:
virtual void ice_preMarshal();
- virtual void __write(Ice::OutputStream*) const;
- virtual void __read(Ice::InputStream*);
+ virtual void _iceWrite(Ice::OutputStream*) const;
+ virtual void _iceRead(Ice::InputStream*);
private:
@@ -578,8 +578,8 @@ public:
virtual void ice_postUnmarshal();
- virtual void __write(Ice::OutputStream*) const;
- virtual void __read(Ice::InputStream*);
+ virtual void _iceWrite(Ice::OutputStream*) const;
+ virtual void _iceRead(Ice::InputStream*);
virtual ClassInfoPtr getInfo() const;
@@ -610,15 +610,15 @@ public:
#endif
virtual void ice_throw() const;
- virtual void __write(Ice::OutputStream*) const;
- virtual void __read(Ice::InputStream*);
+ virtual void _write(Ice::OutputStream*) const;
+ virtual void _read(Ice::InputStream*);
- virtual bool __usesClasses() const;
+ virtual bool _usesClasses() const;
protected:
- virtual void __writeImpl(Ice::OutputStream*) const {}
- virtual void __readImpl(Ice::InputStream*) {}
+ virtual void _writeImpl(Ice::OutputStream*) const {}
+ virtual void _readImpl(Ice::InputStream*) {}
private:
@@ -643,22 +643,19 @@ public:
#endif
virtual void ice_throw() const;
- virtual void __write(Ice::OutputStream*) const;
- virtual void __read(Ice::InputStream*);
+ virtual void _write(Ice::OutputStream*) const;
+ virtual void _read(Ice::InputStream*);
- virtual bool __usesClasses() const;
+ virtual bool _usesClasses() const;
PyObject* getException() const; // Borrowed reference.
Ice::SlicedDataPtr getSlicedData() const;
- using Ice::UserException::__read;
- using Ice::UserException::__write;
-
protected:
- virtual void __writeImpl(Ice::OutputStream*) const {}
- virtual void __readImpl(Ice::InputStream*) {}
+ virtual void _writeImpl(Ice::OutputStream*) const {}
+ virtual void _readImpl(Ice::InputStream*) {}
private: