summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-12-07 18:20:31 +0000
committerMark Spruiell <mes@zeroc.com>2002-12-07 18:20:31 +0000
commit2930ef4cbae0ada9c0f420bfeb79010a6cd1d313 (patch)
treebcfd2fc896412c7c9e5cdb11dd92400d87cb5f37 /cpp/src/slice2cpp/Gen.h
parentfix (diff)
downloadice-2930ef4cbae0ada9c0f420bfeb79010a6cd1d313.tar.bz2
ice-2930ef4cbae0ada9c0f420bfeb79010a6cd1d313.tar.xz
ice-2930ef4cbae0ada9c0f420bfeb79010a6cd1d313.zip
add AMD support to generated implementation examples
Diffstat (limited to 'cpp/src/slice2cpp/Gen.h')
-rw-r--r--cpp/src/slice2cpp/Gen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.h b/cpp/src/slice2cpp/Gen.h
index 81d7c617a8a..d1958c2fb25 100644
--- a/cpp/src/slice2cpp/Gen.h
+++ b/cpp/src/slice2cpp/Gen.h
@@ -288,6 +288,12 @@ private:
std::string _dllExport;
//
+ // Generate code to emit a local variable declaration and initialize it
+ // if necessary.
+ //
+ void writeDecl(::IceUtil::Output&, const std::string&, const TypePtr&);
+
+ //
// Generate code to return a dummy value
//
void writeReturn(::IceUtil::Output&, const TypePtr&);