diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2792:57e2d65d37ce

OrthancPlugins::MemoryBuffer::Release(), fixing openssl link
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Jul 2018 22:06:55 +0200
parents 878b59270859
children 4df3c64402ba
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Thu Jul 26 21:18:05 2018 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Thu Jul 26 22:06:55 2018 +0200
@@ -92,9 +92,11 @@
       return &buffer_;
     }
 
-    // This transfers ownership
+    // This transfers ownership from "other" to "this"
     void Assign(OrthancPluginMemoryBuffer& other);
 
+    OrthancPluginMemoryBuffer Release();
+
     const char* GetData() const
     {
       if (buffer_.size > 0)