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
51#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)51#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
52#endif52#endif
53 53
54PyTypeObject Py_cvecType;54extern PyTypeObject Py_cvecType;
55 55
56PyObject * new_py_fvec(uint_t length);56PyObject * new_py_fvec(uint_t length);
57PyObject * new_py_cvec(uint_t length);57PyObject * new_py_cvec(uint_t length);
58PyObject * new_py_fmat(uint_t height, uint_t length);58PyObject * new_py_fmat(uint_t height, uint_t length);
59 59
60// defined in aubio-proxy.c60// defined in aubio-proxy.c
61int PyAubio_IsValidVector (PyObject *input);61extern int PyAubio_IsValidVector (PyObject *input);
62 62
63PyObject *PyAubio_CFvecToArray (fvec_t * self);63extern PyObject *PyAubio_CFvecToArray (fvec_t * self);
64int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);64extern int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);
65 65
66int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);66extern int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);
67 67
68PyObject *PyAubio_CFmatToArray (fmat_t * self);68extern PyObject *PyAubio_CFmatToArray (fmat_t * self);
69int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);69extern int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);
70 70
71// hand written wrappers71// hand written wrappers
72PyTypeObject Py_filterType;72extern PyTypeObject Py_filterType;
73 73
74PyTypeObject Py_filterbankType;74extern PyTypeObject Py_filterbankType;
75 75
76PyTypeObject Py_fftType;76extern PyTypeObject Py_fftType;
77 77
78PyTypeObject Py_pvocType;78extern PyTypeObject Py_pvocType;
79 79
80PyTypeObject Py_sourceType;80extern PyTypeObject Py_sourceType;
81 81
82PyTypeObject Py_sinkType;82extern PyTypeObject Py_sinkType;
python/ext/aubiomodule.c+3−2
@@ -74,8 +74,9 @@ static char Py_min_removal_doc[] = "" · 73 unmodified lines
74"\n"74"\n"
75">>> min_removal(a)";75">>> min_removal(a)";
76 76
77void add_ufuncs ( PyObject *m );77extern void add_generated_objects ( PyObject *m );
78int generated_types_ready(void);78extern void add_ufuncs ( PyObject *m );
79extern int generated_types_ready(void);
79 80
80static PyObject *81static PyObject *
81Py_alpha_norm (PyObject * self, PyObject * args)82Py_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