diff options
Diffstat (limited to 'cpp/include/Slice/CsUtil.h')
-rw-r--r-- | cpp/include/Slice/CsUtil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/include/Slice/CsUtil.h b/cpp/include/Slice/CsUtil.h index 259080b2d20..e527d8d140a 100644 --- a/cpp/include/Slice/CsUtil.h +++ b/cpp/include/Slice/CsUtil.h @@ -23,6 +23,11 @@ public: virtual ~CsGenerator() {}; // + // Convert a dimension-less array declaration to one with a dimension. + // + static std::string toArrayAlloc(const std::string& decl, const std::string& sz); + + // // Validate all metadata in the unit with a "cs:" prefix. // static void validateMetaData(const UnitPtr&); @@ -31,6 +36,7 @@ protected: static std::string fixId(const std::string&, int = 0, bool = false); static std::string typeToString(const TypePtr&); static bool isValueType(const TypePtr&); + // // Generate code to marshal or unmarshal a type // |