diff --git a/wrap/Class.h b/wrap/Class.h index f5267cee2..6643609c5 100644 --- a/wrap/Class.h +++ b/wrap/Class.h @@ -78,6 +78,9 @@ struct Class { void deserialization_fragments(FileWriter& proxyFile, FileWriter& wrapperFile, const std::string& wrapperName, std::vector& functionNames) const; + // Creates a static member function that performs deserialization + void deserialization_fragments(FileWriter& proxyFile, FileWriter& wrapperFile, std::vector& functionNames) const; + private: void pointer_constructor_fragments(FileWriter& proxyFile, FileWriter& wrapperFile, const std::string& wrapperName, std::vector& functionNames) const; void comment_fragment(FileWriter& proxyFile) const;