Fix Python wrapper generation.

This commit is contained in:
Ghislain MARY 2017-04-04 11:42:31 +02:00
parent 013ba62731
commit d5ba6a1bf8
4 changed files with 1 additions and 3 deletions

View file

@ -847,7 +847,6 @@ LINPHONE_PUBLIC void linphone_call_remove_callbacks(LinphoneCall *call, Linphone
* This is meant only to be called from a callback to be able to get the user_data associated with the LinphoneCallCbs that is calling the callback.
* @param[in] call LinphoneCall object
* @return The LinphoneCallCbs that has called the last callback
* @donotwrap
*/
LINPHONE_PUBLIC LinphoneCallCbs *linphone_call_get_current_callbacks(const LinphoneCall *call);

View file

@ -268,7 +268,6 @@ LINPHONE_PUBLIC void *linphone_core_cbs_get_user_data(const LinphoneCoreCbs *cbs
* This is meant only to be called from a callback to be able to get the user_data associated with the #LinphoneCoreCbs that is calling the callback.
* @param lc the linphonecore
* @return the #LinphoneCoreCbs that has called the last callback
* @donotwrap
*/
LINPHONE_PUBLIC LinphoneCoreCbs *linphone_core_get_current_callbacks(const LinphoneCore *lc);

View file

@ -27,6 +27,7 @@ from apixml2python.linphone import LinphoneModule, HandWrittenClassMethod, HandW
blacklisted_classes = [
'LinphoneIntRange',
'LinphoneTunnel',
'LinphoneTunnelConfig'
]

View file

@ -434,7 +434,6 @@ class CParser(object):
self.regexFixedSizeInteger = '^(u?)int(\d?\d)_t$'
self.methodBl = ['ref', 'unref', 'new', 'destroy', 'getCurrentCallbacks', 'setUserData', 'getUserData']
self.functionBl = [
'linphone_core_get_current_callbacks',
'linphone_factory_create_core', # manualy wrapped
'linphone_factory_create_core_with_config', # manualy wrapped
'linphone_vcard_get_belcard'] # manualy wrapped