mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-02 10:56:24 +00:00
Add some function declarations at the beginning of the generation of the Python wrapper to prevent compilation warnings.
This commit is contained in:
parent
f92d32e5cf
commit
3c692e3a36
1 changed files with 5 additions and 0 deletions
|
|
@ -69,6 +69,11 @@ typedef struct {
|
|||
|
||||
{{/classes}}
|
||||
|
||||
{{#classes}}
|
||||
static {{class_cname}} * pylinphone_{{class_name}}_get_native_ptr(PyObject *self);
|
||||
static PyObject * pylinphone_{{class_name}}_new_from_native_ptr(PyTypeObject *type, {{class_cname}} *native_ptr);
|
||||
{{/classes}}
|
||||
|
||||
{{#classes}}
|
||||
|
||||
static {{class_cname}} * pylinphone_{{class_name}}_get_native_ptr(PyObject *self) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue