changeset 4077:ae7ebd5b0443

fix signature of OrthancPluginSendMultipartItem[2]()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jun 2020 15:09:40 +0200
parents e8d30585b909
children c5c41f66ec29 73c22208272f
files Plugins/Include/orthanc/OrthancCPlugin.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Jun 15 17:21:48 2020 +0200
+++ b/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Jun 22 15:09:40 2020 +0200
@@ -3537,7 +3537,7 @@
   ORTHANC_PLUGIN_INLINE OrthancPluginErrorCode OrthancPluginSendMultipartItem(
     OrthancPluginContext*    context,
     OrthancPluginRestOutput* output,
-    const char*              answer,
+    const void*              answer,
     uint32_t                 answerSize)
   {
     _OrthancPluginAnswerBuffer params;
@@ -5527,7 +5527,7 @@
   typedef struct
   {
     OrthancPluginRestOutput* output;
-    const char*              answer;
+    const void*              answer;
     uint32_t                 answerSize;
     uint32_t                 headersCount;
     const char* const*       headersKeys;
@@ -5557,7 +5557,7 @@
   ORTHANC_PLUGIN_INLINE OrthancPluginErrorCode OrthancPluginSendMultipartItem2(
     OrthancPluginContext*    context,
     OrthancPluginRestOutput* output,
-    const char*              answer,
+    const void*              answer,
     uint32_t                 answerSize,
     uint32_t                 headersCount,
     const char* const*       headersKeys,