diff options
author | Michi Henning <michi@zeroc.com> | 2005-06-17 05:55:25 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-06-17 05:55:25 +0000 |
commit | ee432c6e4507c1311de6660a08a1d50bf28fb19a (patch) | |
tree | d771d346991e6c45ae6eafd252e02a8f9d2521c5 /cpp/src/slice2cpp/Gen.h | |
parent | Added static build (diff) | |
download | ice-ee432c6e4507c1311de6660a08a1d50bf28fb19a.tar.bz2 ice-ee432c6e4507c1311de6660a08a1d50bf28fb19a.tar.xz ice-ee432c6e4507c1311de6660a08a1d50bf28fb19a.zip |
Added on-shot constructors to structures, classes, and exceptions. Added
copy and assignment to classes. Refactored some of the code generator
to get rid of duplicated code.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.h')
-rw-r--r-- | cpp/src/slice2cpp/Gen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.h b/cpp/src/slice2cpp/Gen.h index f32715b3fb1..dc81ae2c361 100644 --- a/cpp/src/slice2cpp/Gen.h +++ b/cpp/src/slice2cpp/Gen.h @@ -76,7 +76,7 @@ private: private: - void emitExceptionBase(const ExceptionPtr&, const std::string&); + void emitUpcall(const ExceptionPtr&, const std::string&, bool = false); ::IceUtil::Output& H; ::IceUtil::Output& C; @@ -231,6 +231,7 @@ private: void emitGCFunctions(const ClassDefPtr&); void emitGCInsertCode(const TypePtr&, const std::string&, const std::string&, int); void emitGCClearCode(const TypePtr&, const std::string&, const std::string&, int); + void emitUpcall(const ClassDefPtr&, const std::string&); ::IceUtil::Output& H; ::IceUtil::Output& C; |