Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
c71cfe46
Commit
c71cfe46
authored
Sep 28, 2016
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build of Python module + handle wrapper generation of deprecated methods.
parent
33a78180
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
43 deletions
+39
-43
linphonecore.h
coreapi/linphonecore.h
+1
-10
vtables.c
coreapi/vtables.c
+1
-1
genapixml.py
tools/genapixml.py
+2
-0
apixml2python.py
tools/python/apixml2python.py
+8
-1
linphone.py
tools/python/apixml2python/linphone.py
+27
-31
No files found.
coreapi/linphonecore.h
View file @
c71cfe46
...
...
@@ -2269,7 +2269,7 @@ LINPHONE_PUBLIC void linphone_core_v_table_set_user_data(LinphoneCoreVTable *tab
* @param table the vtable
* @return the data attached to the vtable
*/
LINPHONE_PUBLIC
void
*
linphone_core_v_table_get_user_data
(
LinphoneCoreVTable
*
table
);
LINPHONE_PUBLIC
void
*
linphone_core_v_table_get_user_data
(
const
LinphoneCoreVTable
*
table
);
/**
* Gets the current VTable.
...
...
@@ -4630,15 +4630,6 @@ LINPHONE_PUBLIC const char* linphone_transport_to_string(LinphoneTransportType t
**/
LINPHONE_PUBLIC
LinphoneTransportType
linphone_transport_parse
(
const
char
*
transport
);
/**
* @ingroup media_parameters
* Get default call parameters reflecting current linphone core configuration
* @param lc LinphoneCore object
* @return LinphoneCallParams
* @deprecated use linphone_core_create_call_params()
*/
LINPHONE_PUBLIC
LINPHONE_DEPRECATED
LinphoneCallParams
*
linphone_core_create_default_call_parameters
(
LinphoneCore
*
lc
);
typedef
struct
_LinphoneRingtonePlayer
LinphoneRingtonePlayer
;
LINPHONE_PUBLIC
LinphoneRingtonePlayer
*
linphone_core_get_ringtoneplayer
(
LinphoneCore
*
lc
);
...
...
coreapi/vtables.c
View file @
c71cfe46
...
...
@@ -29,7 +29,7 @@ void linphone_core_v_table_set_user_data(LinphoneCoreVTable *table, void *data)
table
->
user_data
=
data
;
}
void
*
linphone_core_v_table_get_user_data
(
LinphoneCoreVTable
*
table
)
{
void
*
linphone_core_v_table_get_user_data
(
const
LinphoneCoreVTable
*
table
)
{
return
table
->
user_data
;
}
...
...
tools/genapixml.py
View file @
c71cfe46
...
...
@@ -86,6 +86,8 @@ class CArgument(CObject):
fullySplittedType
.
append
(
'*'
)
else
:
fullySplittedType
.
append
(
s
)
if
'MS2_DEPRECATED'
in
fullySplittedType
:
fullySplittedType
.
remove
(
'MS2_DEPRECATED'
)
isStruct
=
False
isEnum
=
False
self
.
ctype
=
'int'
# Default to int so that the result is correct eg. for 'unsigned short'
...
...
tools/python/apixml2python.py
View file @
c71cfe46
...
...
@@ -31,22 +31,29 @@ blacklisted_classes = [
'LinphoneTunnelConfig'
]
blacklisted_events
=
[
'LinphoneChatMessageStateChangedCb'
,
# not respecting naming convention
'LinphoneCoreInfoReceivedCb'
,
# missing LinphoneInfoMessage
'LinphoneCoreNotifyReceivedCb'
,
# missing LinphoneContent
'LinphoneCoreFileTransferProgressIndicationCb'
,
# missing LinphoneContent
'LinphoneCoreFileTransferRecvCb'
,
# missing LinphoneContent
'LinphoneCoreFileTransferSendCb'
# missing LinphoneContent
'LinphoneCoreFileTransferSendCb'
,
# missing LinphoneContent
'LinphoneCoreTextMessageReceivedCb'
# not respecting naming convention
]
blacklisted_functions
=
[
'linphone_call_log_get_local_stats'
,
# missing rtp_stats_t
'linphone_call_log_get_remote_stats'
,
# missing rtp_stats_t
'linphone_call_params_get_privacy'
,
# missing LinphonePrivacyMask
'linphone_call_params_set_privacy'
,
# missing LinphonePrivacyMask
'linphone_chat_message_start_file_download'
,
# callback function in parameter
'linphone_chat_message_state_to_string'
,
# There is no use to wrap this function
'linphone_chat_room_send_message2'
,
# callback function in parameter
'linphone_core_add_listener'
,
'linphone_core_can_we_add_call'
,
# private function
'linphone_core_enable_log_collection'
,
# need to handle class properties
'linphone_core_enable_logs'
,
# unhandled argument type FILE
'linphone_core_enable_logs_with_cb'
,
# callback function in parameter
'linphone_core_get_audio_port_range'
,
# to be handwritten because of result via arguments
'linphone_core_get_default_proxy'
,
'linphone_core_get_network_simulator_params'
,
# missing OrtpNetworkSimulatorParams
'linphone_core_get_supported_video_sizes'
,
# missing MSVideoSizeDef
'linphone_core_get_video_policy'
,
# missing LinphoneVideoPolicy
...
...
tools/python/apixml2python/linphone.py
View file @
c71cfe46
This diff is collapsed.
Click to expand it.
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