Skip to content

Commit ce2e59b

Browse files
committed
Fix msvc issue.
1 parent c0f5da5 commit ce2e59b

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
1.0.1 (2015-12-24)
6+
------------------
7+
8+
* Fix a compile issue with the MSVC compiler (seems it don't like the inline option on the ``fast_When_call``).
9+
510
1.0.0 (2015-12-24)
611
------------------
712

src/hunter/_predicates.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ cdef class When:
66
readonly object condition
77
readonly list actions
88

9-
cdef inline fast_When_call(When self, event)
9+
cdef fast_When_call(When self, event)

src/hunter/_predicates.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ cdef class Query:
153153
else:
154154
return PyObject_RichCompare(id(self), id(other), op)
155155

156-
cdef inline fast_Query_call(Query self, event):
156+
cdef fast_Query_call(Query self, event):
157157
for key, value in self.query_eq.items():
158158
evalue = event[key]
159159
if evalue != value:

0 commit comments

Comments
 (0)