mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
don't user "new" as a variable name, so we can keep compatible with C++
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3336 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0d7ab0cb03
commit
4619302f8f
@ -436,7 +436,7 @@ typedef struct switch_ivr_menu_action switch_ivr_menu_action_t;
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
*\brief Create a new menu object.
|
*\brief Create a new menu object.
|
||||||
*\param new the pointer to the new menu
|
*\param new_menu the pointer to the new menu
|
||||||
*\param main The top level menu, (NULL if this is the top level one).
|
*\param main The top level menu, (NULL if this is the top level one).
|
||||||
*\param name A pointer to the name of this menu.
|
*\param name A pointer to the name of this menu.
|
||||||
*\param greeting_sound Optional pointer to a main sound (press 1 for this 2 for that).
|
*\param greeting_sound Optional pointer to a main sound (press 1 for this 2 for that).
|
||||||
@ -447,7 +447,7 @@ typedef struct switch_ivr_menu_action switch_ivr_menu_action_t;
|
|||||||
*\param pool memory pool (NULL to create one)
|
*\param pool memory pool (NULL to create one)
|
||||||
*\return SWUTCH_STATUS_SUCCESS if the menu was created
|
*\return SWUTCH_STATUS_SUCCESS if the menu was created
|
||||||
*/
|
*/
|
||||||
SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t **new,
|
SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t **new_menu,
|
||||||
switch_ivr_menu_t *main,
|
switch_ivr_menu_t *main,
|
||||||
char *name,
|
char *name,
|
||||||
char *greeting_sound,
|
char *greeting_sound,
|
||||||
|
@ -3308,7 +3308,7 @@ static void switch_ivr_menu_stack(switch_ivr_menu_t **top, switch_ivr_menu_t *bo
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t **new,
|
SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t **new_menu,
|
||||||
switch_ivr_menu_t *main,
|
switch_ivr_menu_t *main,
|
||||||
char *name,
|
char *name,
|
||||||
char *greeting_sound,
|
char *greeting_sound,
|
||||||
@ -3385,7 +3385,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_init(switch_ivr_menu_t **new,
|
|||||||
menu->flags |= SWITCH_IVR_MENU_FLAG_STACK;
|
menu->flags |= SWITCH_IVR_MENU_FLAG_STACK;
|
||||||
}
|
}
|
||||||
|
|
||||||
*new = menu;
|
*new_menu = menu;
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user