Changeset f1cb32c3a7c388d0009e0361d3845cbf89f2cb23

Show
Ignore:
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
  • bindings/python/vlcglue.c

    rd2c8e21 rf1cb32c  
    174174} 
    175175 
    176 static PyObject * vlcObject_release( PyObject *self
     176static PyObject * vlcObject_release( PyObject *self, PyObject *args
    177177{ 
    178178    if( VLCSELF->b_released == 0 ) 
     
    181181        VLCSELF->b_released = 1; 
    182182    } 
    183     Py_INCREF( Py_None); 
     183    Py_INCREF( Py_None ); 
    184184    return Py_None; 
    185185} 
     
    187187static void  vlcObject_dealloc(PyObject *self) 
    188188{ 
    189     vlcObject_release( self ); 
     189    vlcObject_release( self, NULL ); 
    190190    PyMem_DEL(self); 
    191191} 
     
    497497} 
    498498 
    499 static PyObject * vlcObject_var_list(PyObject *self, 
    500                 PyObject *args) 
     499static PyObject * vlcObject_var_list(PyObject *self, PyObject *args) 
    501500{ 
    502501        PyObject *retval; 
     
    620619} 
    621620 
    622 static PyObject * vlcObject_children(PyObject *self, 
    623                 PyObject *args) 
     621static PyObject * vlcObject_children(PyObject *self, PyObject *args) 
    624622{ 
    625623        PyObject *retval; 
     
    655653    { "type", vlcObject_var_type, METH_VARARGS, 
    656654      "type(str) -> str     Get a variable type" }, 
    657     { "list", vlcObject_var_list, METH_VARARGS, 
     655    { "list", vlcObject_var_list, METH_NOARGS, 
    658656      "list()             List the available variables" }, 
    659     { "children", vlcObject_children, METH_VARARGS, 
     657    { "children", vlcObject_children, METH_NOARGS, 
    660658      "children()             List the children ids" }, 
    661659    { "find_object", vlcObject_find_object, METH_VARARGS, 
     
    663661    { "find_id", vlcObject_find_id, METH_VARARGS, 
    664662      "find_id(int) -> Object      Find an object by id" }, 
    665     { "info", vlcObject_info, METH_VARARGS, 
     663    { "info", vlcObject_info, METH_NOARGS, 
    666664       "info() -> dict    Return information about the object" }, 
    667     { "release", vlcObject_release, METH_VARARGS, 
     665    { "release", vlcObject_release, METH_NOARGS, 
    668666      "release() ->     Release the VLC Object" }, 
    669667    { NULL, NULL, 0, NULL },