Skip to content

Commit 67f9b94

Browse files
authored
Fix Cmake version (#413)
1 parent 0be7b58 commit 67f9b94

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/message_receiver.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ cdef class cMessageReceiver(StructBase):
120120

121121
#### Callbacks (context is a MessageReceiver instance)
122122

123-
cdef void on_message_receiver_state_changed(void* context, c_message_receiver.MESSAGE_RECEIVER_STATE_TAG new_state, c_message_receiver.MESSAGE_RECEIVER_STATE_TAG previous_state) noexcept:
123+
cdef void on_message_receiver_state_changed(const void* context, c_message_receiver.MESSAGE_RECEIVER_STATE_TAG new_state, c_message_receiver.MESSAGE_RECEIVER_STATE_TAG previous_state) noexcept:
124124
if context != NULL:
125125
context_pyobj = <PyObject*>context
126126
if context_pyobj.ob_refcnt == 0: # context is being garbage collected, skip the callback

src/vendor/azure-uamqp-c/deps/azure-macro-utils-c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Copyright (c) Microsoft. All rights reserved.
22
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
cmake_minimum_required(VERSION 2.8.11)
4+
cmake_minimum_required(VERSION 3.5)
55

66
if(TARGET azure_macro_utils_c)
77
return()

src/vendor/azure-uamqp-c/deps/umock-c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Copyright (c) Microsoft. All rights reserved.
22
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
cmake_minimum_required(VERSION 2.8.11)
4+
cmake_minimum_required(VERSION 3.5)
55

66
if(TARGET umock_c)
77
return()

0 commit comments

Comments
 (0)