diff Sources/ICallbackRegistration.h @ 119:cf6decdf9e15

wrapped new SDK callback: orthanc.RegisterStorageCommitmentScpCallback()
author Alain Mazy <am@osimis.io>
date Mon, 28 Aug 2023 18:30:42 +0200
parents 65ec5597ec70
children 566df919b286 71d305c29cfa
line wrap: on
line diff
--- a/Sources/ICallbackRegistration.h	Mon Aug 28 16:44:41 2023 +0200
+++ b/Sources/ICallbackRegistration.h	Mon Aug 28 18:30:42 2023 +0200
@@ -40,5 +40,12 @@
                          PyObject*& singletonCallback,
                          const std::string& details);
 
+  // The GIL must be locked
+  static PyObject *Apply2(ICallbackRegistration& registration,
+                          PyObject* args,
+                          PyObject*& singletonCallback1,
+                          PyObject*& singletonCallback2,
+                          const std::string& details);
+
   static void Unregister(PyObject*& singletonCallback);
 };