History

python/ext/aubiomodule.c: undo last commit

Paul Brossier committed 10 years ago

Commit b6230d81 parent d8faaf23 files · +17 −16Browse files

Showing the changes to python/ext (2 of 3 files). Show all

Unified · Split

2 files
  1. python/ext/aubio-types.h +13 −13
  2. python/ext/aubiomodule.c +3 −2
python/ext/aubio-types.h+13−13
@@ -51,32 +51,32 @@ · 50 unmodified lines
5151 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
5252 #endif
5353
54−PyTypeObject Py_cvecType;
54+extern PyTypeObject Py_cvecType;
5555
5656 PyObject * new_py_fvec(uint_t length);
5757 PyObject * new_py_cvec(uint_t length);
5858 PyObject * new_py_fmat(uint_t height, uint_t length);
5959
6060 // defined in aubio-proxy.c
61−int PyAubio_IsValidVector (PyObject *input);
61+extern int PyAubio_IsValidVector (PyObject *input);
6262
63−PyObject *PyAubio_CFvecToArray (fvec_t * self);
64−int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);
63+extern PyObject *PyAubio_CFvecToArray (fvec_t * self);
64+extern int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);
6565
66−int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);
66+extern int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);
6767
68−PyObject *PyAubio_CFmatToArray (fmat_t * self);
69−int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);
68+extern PyObject *PyAubio_CFmatToArray (fmat_t * self);
69+extern int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);
7070
7171 // hand written wrappers
72−PyTypeObject Py_filterType;
72+extern PyTypeObject Py_filterType;
7373
74−PyTypeObject Py_filterbankType;
74+extern PyTypeObject Py_filterbankType;
7575
76−PyTypeObject Py_fftType;
76+extern PyTypeObject Py_fftType;
7777
78−PyTypeObject Py_pvocType;
78+extern PyTypeObject Py_pvocType;
7979
80−PyTypeObject Py_sourceType;
80+extern PyTypeObject Py_sourceType;
8181
82−PyTypeObject Py_sinkType;
82+extern PyTypeObject Py_sinkType;
python/ext/aubiomodule.c+3−2
@@ -74,8 +74,9 @@ static char Py_min_removal_doc[] = "" · 73 unmodified lines
7474 "\n"
7575 ">>> min_removal(a)";
7676
77−void add_ufuncs ( PyObject *m );
78−int generated_types_ready(void);
77+extern void add_generated_objects ( PyObject *m );
78+extern void add_ufuncs ( PyObject *m );
79+extern int generated_types_ready(void);
7980
8081 static PyObject *
8182 Py_alpha_norm (PyObject * self, PyObject * args)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t