changeset 316:0707c19e093d

OrthancPluginRegisterStorageArea3() was introduced in sdk 1.12.8
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 07 Apr 2026 13:00:19 +0200
parents 7266449c11f0
children 9e13895555cc
files CodeAnalysis/CustomFunctions.json Sources/StorageArea3.cpp
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CodeAnalysis/CustomFunctions.json	Tue Feb 24 12:13:09 2026 +0100
+++ b/CodeAnalysis/CustomFunctions.json	Tue Apr 07 13:00:19 2026 +0200
@@ -699,7 +699,7 @@
       }
     ],
     "return_sdk_type" : "void",
-    "since_sdk" : [ 1, 9, 0 ],
+    "since_sdk" : [ 1, 12, 8 ],
     "sdk_functions" : [ "OrthancPluginRegisterStorageArea3" ]
   }
 
--- a/Sources/StorageArea3.cpp	Tue Feb 24 12:13:09 2026 +0100
+++ b/Sources/StorageArea3.cpp	Tue Apr 07 13:00:19 2026 +0200
@@ -35,7 +35,7 @@
 #include <limits>
 
 
-#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 0)
+#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 8)
 
 static PyObject*  createCallback2_ = NULL;
 static PyObject*  readCallback2_ = NULL;
@@ -378,4 +378,10 @@
   }
 }
 
-#endif
\ No newline at end of file
+#else
+
+void FinalizeStorageArea3()
+{
+}
+
+#endif