Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:infi777:games
aubio
95ff046c.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 95ff046c.patch of Package aubio
From 95ff046c698156f21e2ca0d1d8a02c23ab76969f Mon Sep 17 00:00:00 2001 From: Paul Brossier <piem@piem.org> Date: Thu, 2 Jul 2020 11:16:13 +0200 Subject: [PATCH] [py] add const qualifiers to ufuncs prototypes for latest numpy --- python/ext/ufuncs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/ext/ufuncs.c b/python/ext/ufuncs.c index d373d725..e5641342 100644 --- a/python/ext/ufuncs.c +++ b/python/ext/ufuncs.c @@ -3,8 +3,8 @@ typedef smpl_t (*aubio_unary_func_t)(smpl_t input); -static void aubio_PyUFunc_d_d(char **args, npy_intp *dimensions, - npy_intp* steps, void* data) +static void aubio_PyUFunc_d_d(char **args, const npy_intp *dimensions, + const npy_intp* steps, void* data) { npy_intp i; npy_intp n = dimensions[0]; @@ -22,8 +22,8 @@ static void aubio_PyUFunc_d_d(char **args, npy_intp *dimensions, } } -static void aubio_PyUFunc_f_f_As_d_d(char **args, npy_intp *dimensions, - npy_intp* steps, void* data) +static void aubio_PyUFunc_f_f_As_d_d(char **args, const npy_intp *dimensions, + const npy_intp* steps, void* data) { npy_intp i; npy_intp n = dimensions[0]; -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor