X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_trace.c;h=b0ab45eeceb124f0a59e755dff7b228e8a1d6988;hp=e832fd80adb68a53a89730eddd32301f414cbb7a;hb=3b3a6d094f484e799b1430782f1130a9af71a94e;hpb=e3d8d5a5a9425b40e09df86a597c3e971dced9d1;ds=sidebyside diff --git a/menu/m_trace.c b/menu/m_trace.c index e832fd80..b0ab45ee 100644 --- a/menu/m_trace.c +++ b/menu/m_trace.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2004-2010,2016 Free Software Foundation, Inc. * + * Copyright 2018,2020 Thomas E. Dickey * + * Copyright 2004-2010,2016 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,44 +33,45 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_trace.c,v 1.5 2016/01/23 21:32:00 tom Exp $") +MODULE_ID("$Id: m_trace.c,v 1.8 2020/05/24 01:40:20 anonymous.maarten Exp $") -NCURSES_EXPORT(ITEM *) +MENU_EXPORT(ITEM *) _nc_retrace_item(ITEM * code) { T((T_RETURN("%p"), (void *)code)); return code; } -NCURSES_EXPORT(ITEM **) +MENU_EXPORT(ITEM **) _nc_retrace_item_ptr(ITEM ** code) { T((T_RETURN("%p"), (void *)code)); return code; } -NCURSES_EXPORT(Item_Options) +MENU_EXPORT(Item_Options) _nc_retrace_item_opts(Item_Options code) { T((T_RETURN("%d"), code)); return code; } -NCURSES_EXPORT(MENU *) +MENU_EXPORT(MENU *) _nc_retrace_menu(MENU * code) { T((T_RETURN("%p"), (void *)code)); return code; } -NCURSES_EXPORT(Menu_Hook) +MENU_EXPORT(Menu_Hook) _nc_retrace_menu_hook(Menu_Hook code) { - T((T_RETURN("%p"), TR_FUNC(code))); + TR_FUNC_BFR(1); + T((T_RETURN("%s"), TR_FUNC_ARG(0, code))); return code; } -NCURSES_EXPORT(Menu_Options) +MENU_EXPORT(Menu_Options) _nc_retrace_menu_opts(Menu_Options code) { T((T_RETURN("%d"), code));