]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
swigall
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 14 Nov 2008 18:01:27 +0000 (18:01 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 14 Nov 2008 18:01:27 +0000 (18:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10405 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_xml.h
src/mod/languages/mod_managed/managed/swig.cs
src/switch_xml.c

index eda24c456824e6445dbbfdf285b37cb1e84d50c0..5fd96dc464f3c5b15eb74e2f5dd1972d9a1448a8 100644 (file)
@@ -359,7 +359,7 @@ SWITCH_DECLARE(void) switch_xml_set_binding_user_data(switch_xml_binding_t *bind
 SWITCH_DECLARE(switch_xml_section_t) switch_xml_get_binding_sections(switch_xml_binding_t *binding);
 SWITCH_DECLARE(void *) switch_xml_get_binding_user_data(switch_xml_binding_t *binding);
 
-SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret);
+SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret_binding);
 #define switch_xml_bind_search_function(_f, _s, _u) switch_xml_bind_search_function_ret(_f, _s, _u, NULL)
 
 
index bc9c7622b21fec03ce77784d51713e3335fbe61f..fd1590a52be2384fa200cae6b5c1e78299a948ce 100644 (file)
@@ -3651,8 +3651,8 @@ public class freeswitch {
     return ret;
   }
 
-  public static switch_status_t switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, uint sections, SWIGTYPE_p_void user_data, SWIGTYPE_p_p_switch_xml_binding ret) {
-    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), sections, SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_p_switch_xml_binding.getCPtr(ret));
+  public static switch_status_t switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, uint sections, SWIGTYPE_p_void user_data, SWIGTYPE_p_p_switch_xml_binding ret_binding) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), sections, SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_p_switch_xml_binding.getCPtr(ret_binding));
     return ret;
   }
 
index db7099fc230a0694beaefa6773bcddfc4093d119..4b8c14137c069f93cd825c3ab55d26ab44a94cb9 100644 (file)
@@ -251,7 +251,7 @@ SWITCH_DECLARE(void *) switch_xml_get_binding_user_data(switch_xml_binding_t *bi
 }
 
 
-SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret)
+SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret_binding)
 {
        switch_xml_binding_t *binding = NULL, *ptr = NULL;
        assert(function != NULL);
@@ -273,8 +273,8 @@ SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_s
                BINDINGS = binding;
        }
 
-       if (ret) {
-               *ret = binding;
+       if (ret_binding) {
+               *ret_binding = binding;
        }
 
        switch_thread_rwlock_unlock(B_RWLOCK);