From 2d6fffc590955dd02b960acf1c596511c4abe4fd Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 25 Nov 2018 13:42:58 -0600
Subject: [PATCH] Add CL_CALLBACK to event callback (#260 on github)

---
 src/wrap_cl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wrap_cl.hpp b/src/wrap_cl.hpp
index d1948cc8..145c0b9c 100644
--- a/src/wrap_cl.hpp
+++ b/src/wrap_cl.hpp
@@ -1585,7 +1585,7 @@ namespace pyopencl
         {}
       };
 
-      static void evt_callback(cl_event evt, cl_int command_exec_status, void *user_data)
+      static void CL_CALLBACK evt_callback(cl_event evt, cl_int command_exec_status, void *user_data)
       {
         event_callback_info_t *cb_info = reinterpret_cast<event_callback_info_t *>(user_data);
         {
-- 
GitLab