summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2003-05-09 03:59:08 +0000
committerMichi Henning <michi@zeroc.com>2003-05-09 03:59:08 +0000
commit98ae363b65d4f948bdc126c671391b224c9cd609 (patch)
tree877c6973decc4226e49da94d6f5200abafc30ee7 /cpp/src/slice2cpp
parentAdded missing dllExport for __patch__ functions. (diff)
downloadice-98ae363b65d4f948bdc126c671391b224c9cd609.tar.bz2
ice-98ae363b65d4f948bdc126c671391b224c9cd609.tar.xz
ice-98ae363b65d4f948bdc126c671391b224c9cd609.zip
Another dllExport fix.
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 13a34a2e4a0..c8174f1467b 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2442,7 +2442,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p)
H << sp << nl << "void " << _dllExport << "__patch__" << name << "Ptr(void*, ::Ice::ObjectPtr&);";
- C << sp << nl << "void";
+ C << sp << nl << "void " << _dllExport;
C << nl << scope << "__patch__" << name << "Ptr(void* __addr, ::Ice::ObjectPtr& v)";
C << sb;
C << nl << scope << name << "Ptr* p = static_cast< " << scope << name << "Ptr*>(__addr);";