Fix Python module build.

This commit is contained in:
Ghislain MARY 2016-06-06 11:35:31 +02:00
parent 062abe3cf1
commit 7b4af96a4a
2 changed files with 12 additions and 1 deletions

View file

@ -106,8 +106,13 @@ LINPHONE_PUBLIC const char *lp_config_get_string(const LpConfig *lpconfig, const
/**
* Retrieves a configuration item as a list of strings, given its section, key, and default value.
* The default value is returned if the config item is not found.
* @ingroup misc
* The default value is returned if the config item isn't found.
* @param[in] lpconfig A LpConfig object
* @param[in] section The section from which to retrieve a configuration item
* @param[in] key The name of the configuration item to retrieve
* @param[in] default_list \mslist{const char *}
* @return \mslist{const char *}
*/
LINPHONE_PUBLIC MSList * lp_config_get_string_list(const LpConfig *lpconfig, const char *section, const char *key, MSList *default_list);
@ -154,6 +159,10 @@ LINPHONE_PUBLIC void lp_config_set_string(LpConfig *lpconfig,const char *section
/**
* Sets a string list config item
* @ingroup misc
* @param[in] lpconfig A LpConfig object
* @param[in] section The name of the section to put the configuration item into
* @param[in] key The name of the configuration item to set
* @param[in] value \mslist{const char *} The value to set
*/
LINPHONE_PUBLIC void lp_config_set_string_list(LpConfig *lpconfig, const char *section, const char *key, const MSList *value);

View file

@ -47,6 +47,7 @@ blacklisted_functions = [
'linphone_core_can_we_add_call', # private function
'linphone_core_enable_log_collection', # need to handle class properties
'linphone_core_get_audio_port_range', # to be handwritten because of result via arguments
'linphone_core_get_network_simulator_params', # missing OrtpNetworkSimulatorParams
'linphone_core_get_supported_video_sizes', # missing MSVideoSizeDef
'linphone_core_get_video_policy', # missing LinphoneVideoPolicy
'linphone_core_get_video_port_range', # to be handwritten because of result via arguments
@ -60,6 +61,7 @@ blacklisted_functions = [
'linphone_core_set_log_handler', # Hand-written but put directly in the linphone module
'linphone_core_set_log_level', # There is no use to wrap this function
'linphone_core_set_log_level_mask', # There is no use to wrap this function
'linphone_core_set_network_simulator_params', # missing OrtpNetworkSimulatorParams
'linphone_core_set_video_policy', # missing LinphoneVideoPolicy
'linphone_proxy_config_get_privacy', # missing LinphonePrivacyMask
'linphone_proxy_config_normalize_number', # to be handwritten because of result via arguments