Mercurial > hg > orthanc
diff OrthancServer/Plugins/Samples/Sanitizer/Plugin.cpp @ 4915:189ae9a37e01
reorder arguments to put the target as first argument (convention)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Feb 2022 22:18:54 +0100 |
parents | 4b10cbf3ccc8 |
children | 676e03e69703 |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Sanitizer/Plugin.cpp Tue Feb 22 22:14:31 2022 +0100 +++ b/OrthancServer/Plugins/Samples/Sanitizer/Plugin.cpp Tue Feb 22 22:18:54 2022 +0100 @@ -33,9 +33,9 @@ -OrthancPluginReceivedInstanceCallbackResult ReceivedInstanceCallback(const void* receivedDicomBuffer, - uint64_t receivedDicomBufferSize, - OrthancPluginMemoryBuffer64* modifiedDicomBuffer) +OrthancPluginReceivedInstanceCallbackResult ReceivedInstanceCallback(OrthancPluginMemoryBuffer64* modifiedDicomBuffer, + const void* receivedDicomBuffer, + uint64_t receivedDicomBufferSize) { Orthanc::ParsedDicomFile dicom(receivedDicomBuffer, receivedDicomBufferSize); std::string institutionName = "My institution";