kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=aaaa3a143848324c03b647155fe295de4a2d05aa

commit aaaa3a143848324c03b647155fe295de4a2d05aa
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Tue Mar 24 05:05:28 2015 +0200

    Evas.Rect: Use inline and nogil to optimize the intersection helper
---
 efl/evas/efl.evas_rect.pxi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efl/evas/efl.evas_rect.pxi b/efl/evas/efl.evas_rect.pxi
index 5d55f51..76dce95 100644
--- a/efl/evas/efl.evas_rect.pxi
+++ b/efl/evas/efl.evas_rect.pxi
@@ -19,7 +19,7 @@ from efl.utils.deprecated cimport DEPRECATED
 cimport cython
 
 
-cdef int _spans_intersect(int c1, int l1, int c2, int l2):
+cdef inline int _spans_intersect(int c1, int l1, int c2, int l2) nogil:
     return not (((c2 + l2) <= c1) or (c2 >= (c1 + l1)))
 
 

-- 


Reply via email to