Valkka  1.6.1
OpenSource Video Management
test_import.h
Go to the documentation of this file.
1 #ifndef numpy_no_import_HEADER_GUARD
2 #define numpy_no_import_HEADER_GUARD
3 /*
4  * test_import.h : import for test executables
5  *
6  * (c) Copyright 2017-2024 Sampsa Riikonen
7  *
8  * Authors: Sampsa Riikonen <sampsa.riikonen@iki.fi>
9  *
10  * This file is part of the Valkka library.
11  *
12  * Valkka is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU Lesser General Public License as
14  * published by the Free Software Foundation, either version 3 of the
15  * License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * along with this program. If not, see <https://www.gnu.org/licenses/>
24  *
25  */
26 
36 // https://github.com/numpy/numpy/issues/9309
37 // https://docs.scipy.org/doc/numpy/reference/c-api.array.html#importing-the-api
38 
39 // #define PY_ARRAY_UNIQUE_SYMBOL valkka_shmem_array_api // this line is in common.h
40 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
41 #include "numpy/ndarraytypes.h"
42 #include "numpy/arrayobject.h"
43 
44 #endif