diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3400:0faae6f6e3c5

fixed some inconsistencies with pointer types in the plugin sdk
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 14:26:09 +0200
parents 4e8205871967
children b7728227a852
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Jun 07 14:14:31 2019 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Jun 07 14:26:09 2019 +0200
@@ -187,12 +187,12 @@
                     bool applyPlugins);
 
     bool RestApiPost(const std::string& uri,
-                     const char* body,
+                     const void* body,
                      size_t bodySize,
                      bool applyPlugins);
 
     bool RestApiPut(const std::string& uri,
-                    const char* body,
+                    const void* body,
                     size_t bodySize,
                     bool applyPlugins);
 
@@ -467,7 +467,7 @@
 
   bool RestApiPost(Json::Value& result,
                    const std::string& uri,
-                   const char* body,
+                   const void* body,
                    size_t bodySize,
                    bool applyPlugins);
 
@@ -496,7 +496,7 @@
 
   bool RestApiPut(Json::Value& result,
                   const std::string& uri,
-                  const char* body,
+                  const void* body,
                   size_t bodySize,
                   bool applyPlugins);