Changeset f1cb32c3a7c388d0009e0361d3845cbf89f2cb23
- Timestamp:
- 12/09/05 14:37:06
(3 years ago)
- Author:
- Olivier Aubert <olivier.aubert@liris.cnrs.fr>
- git-committer:
- Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1134135426 +0000
- git-parent:
[d2c8e211e8b9b0b1ca1df362816bfd520920406c]
- git-author:
- Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1134135426 +0000
- Message:
python/vlcglue.c: fix a signature-related warning
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd2c8e21 |
rf1cb32c |
|
| 174 | 174 | } |
|---|
| 175 | 175 | |
|---|
| 176 | | static PyObject * vlcObject_release( PyObject *self ) |
|---|
| | 176 | static PyObject * vlcObject_release( PyObject *self, PyObject *args ) |
|---|
| 177 | 177 | { |
|---|
| 178 | 178 | if( VLCSELF->b_released == 0 ) |
|---|
| … | … | |
| 181 | 181 | VLCSELF->b_released = 1; |
|---|
| 182 | 182 | } |
|---|
| 183 | | Py_INCREF( Py_None); |
|---|
| | 183 | Py_INCREF( Py_None ); |
|---|
| 184 | 184 | return Py_None; |
|---|
| 185 | 185 | } |
|---|
| … | … | |
| 187 | 187 | static void vlcObject_dealloc(PyObject *self) |
|---|
| 188 | 188 | { |
|---|
| 189 | | vlcObject_release( self ); |
|---|
| | 189 | vlcObject_release( self, NULL ); |
|---|
| 190 | 190 | PyMem_DEL(self); |
|---|
| 191 | 191 | } |
|---|
| … | … | |
| 497 | 497 | } |
|---|
| 498 | 498 | |
|---|
| 499 | | static PyObject * vlcObject_var_list(PyObject *self, |
|---|
| 500 | | PyObject *args) |
|---|
| | 499 | static PyObject * vlcObject_var_list(PyObject *self, PyObject *args) |
|---|
| 501 | 500 | { |
|---|
| 502 | 501 | PyObject *retval; |
|---|
| … | … | |
| 620 | 619 | } |
|---|
| 621 | 620 | |
|---|
| 622 | | static PyObject * vlcObject_children(PyObject *self, |
|---|
| 623 | | PyObject *args) |
|---|
| | 621 | static PyObject * vlcObject_children(PyObject *self, PyObject *args) |
|---|
| 624 | 622 | { |
|---|
| 625 | 623 | PyObject *retval; |
|---|
| … | … | |
| 655 | 653 | { "type", vlcObject_var_type, METH_VARARGS, |
|---|
| 656 | 654 | "type(str) -> str Get a variable type" }, |
|---|
| 657 | | { "list", vlcObject_var_list, METH_VARARGS, |
|---|
| | 655 | { "list", vlcObject_var_list, METH_NOARGS, |
|---|
| 658 | 656 | "list() List the available variables" }, |
|---|
| 659 | | { "children", vlcObject_children, METH_VARARGS, |
|---|
| | 657 | { "children", vlcObject_children, METH_NOARGS, |
|---|
| 660 | 658 | "children() List the children ids" }, |
|---|
| 661 | 659 | { "find_object", vlcObject_find_object, METH_VARARGS, |
|---|
| … | … | |
| 663 | 661 | { "find_id", vlcObject_find_id, METH_VARARGS, |
|---|
| 664 | 662 | "find_id(int) -> Object Find an object by id" }, |
|---|
| 665 | | { "info", vlcObject_info, METH_VARARGS, |
|---|
| | 663 | { "info", vlcObject_info, METH_NOARGS, |
|---|
| 666 | 664 | "info() -> dict Return information about the object" }, |
|---|
| 667 | | { "release", vlcObject_release, METH_VARARGS, |
|---|
| | 665 | { "release", vlcObject_release, METH_NOARGS, |
|---|
| 668 | 666 | "release() -> Release the VLC Object" }, |
|---|
| 669 | 667 | { NULL, NULL, 0, NULL }, |
|---|