Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
f1cb32c3
Commit
f1cb32c3
authored
Dec 09, 2005
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/vlcglue.c: fix a signature-related warning
parent
d2c8e211
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
bindings/python/vlcglue.c
bindings/python/vlcglue.c
+9
-11
No files found.
bindings/python/vlcglue.c
View file @
f1cb32c3
...
...
@@ -173,20 +173,20 @@ static PyObject *vlcObject_new(
return
(
PyObject
*
)
self
;
}
static
PyObject
*
vlcObject_release
(
PyObject
*
self
)
static
PyObject
*
vlcObject_release
(
PyObject
*
self
,
PyObject
*
args
)
{
if
(
VLCSELF
->
b_released
==
0
)
{
vlc_object_release
(
VLCSELF
->
p_object
);
VLCSELF
->
b_released
=
1
;
}
Py_INCREF
(
Py_None
);
Py_INCREF
(
Py_None
);
return
Py_None
;
}
static
void
vlcObject_dealloc
(
PyObject
*
self
)
{
vlcObject_release
(
self
);
vlcObject_release
(
self
,
NULL
);
PyMem_DEL
(
self
);
}
...
...
@@ -496,8 +496,7 @@ static PyObject * vlcObject_var_set(PyObject *self,
return
Py_None
;
}
static
PyObject
*
vlcObject_var_list
(
PyObject
*
self
,
PyObject
*
args
)
static
PyObject
*
vlcObject_var_list
(
PyObject
*
self
,
PyObject
*
args
)
{
PyObject
*
retval
;
int
i_size
;
...
...
@@ -619,8 +618,7 @@ static PyObject * vlcObject_config_set(PyObject *self,
return
Py_None
;
}
static
PyObject
*
vlcObject_children
(
PyObject
*
self
,
PyObject
*
args
)
static
PyObject
*
vlcObject_children
(
PyObject
*
self
,
PyObject
*
args
)
{
PyObject
*
retval
;
int
i_size
;
...
...
@@ -654,17 +652,17 @@ static PyMethodDef vlcObject_methods[] =
"config_set(str, value) Set a configuration option"
},
{
"type"
,
vlcObject_var_type
,
METH_VARARGS
,
"type(str) -> str Get a variable type"
},
{
"list"
,
vlcObject_var_list
,
METH_
VAR
ARGS
,
{
"list"
,
vlcObject_var_list
,
METH_
NO
ARGS
,
"list() List the available variables"
},
{
"children"
,
vlcObject_children
,
METH_
VAR
ARGS
,
{
"children"
,
vlcObject_children
,
METH_
NO
ARGS
,
"children() List the children ids"
},
{
"find_object"
,
vlcObject_find_object
,
METH_VARARGS
,
"find_object(str) -> Object Find the object of a given type.
\n\n
Available types are : aout, decoder, input, httpd, intf, playlist, root, vlc, vout"
},
{
"find_id"
,
vlcObject_find_id
,
METH_VARARGS
,
"find_id(int) -> Object Find an object by id"
},
{
"info"
,
vlcObject_info
,
METH_
VAR
ARGS
,
{
"info"
,
vlcObject_info
,
METH_
NO
ARGS
,
"info() -> dict Return information about the object"
},
{
"release"
,
vlcObject_release
,
METH_
VAR
ARGS
,
{
"release"
,
vlcObject_release
,
METH_
NO
ARGS
,
"release() -> Release the VLC Object"
},
{
NULL
,
NULL
,
0
,
NULL
},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment