File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2526,7 +2526,7 @@ cdef class ShadingFunction:
2526
2526
if self .function == NULL :
2527
2527
raise RuntimeError (" could not make CGFunctionRef" )
2528
2528
2529
- cdef void shading_callback(object self , CGFloat* in_data, CGFloat* out_data):
2529
+ cdef void shading_callback(object self , const CGFloat* in_data, CGFloat* out_data):
2530
2530
cdef int i
2531
2531
out = self (in_data[0 ])
2532
2532
for i from 0 <= i < self .n_dims:
@@ -2680,7 +2680,7 @@ cdef int bisect_left(PiecewiseLinearColorFunction self, CGFloat t):
2680
2680
lo = mid + 1
2681
2681
return lo
2682
2682
2683
- cdef void piecewise_callback(void * obj, CGFloat* t, CGFloat* out) noexcept:
2683
+ cdef void piecewise_callback(void * obj, const CGFloat* t, CGFloat* out) noexcept:
2684
2684
cdef int i
2685
2685
cdef CGFloat eps
2686
2686
cdef PiecewiseLinearColorFunction self
You can’t perform that action at this time.
0 commit comments