X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_userptr.c;h=dc87da12527d9ab034d71947e034ffdba5ab3f96;hp=3172a57fa1aa88551b645c19b12eaeee1f151507;hb=04d942c3d98cf0a929c6afb17be8c10d4ae39af0;hpb=c55d387cebf1cee4757ca2c2ef4fbeae59ee4175 diff --git a/menu/m_userptr.c b/menu/m_userptr.c index 3172a57f..dc87da12 100644 --- a/menu/m_userptr.c +++ b/menu/m_userptr.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2010,2020 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2004,2010 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 * @@ -37,7 +38,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_userptr.c,v 1.18 2020/01/18 17:04:37 tom Exp $") +MODULE_ID("$Id: m_userptr.c,v 1.20 2020/05/24 01:40:20 anonymous.maarten Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -48,7 +49,7 @@ MODULE_ID("$Id: m_userptr.c,v 1.18 2020/01/18 17:04:37 tom Exp $") | | Return Values : E_OK - success +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(int) +MENU_EXPORT(int) set_menu_userptr(MENU * menu, void *userptr) { T((T_CALLED("set_menu_userptr(%p,%p)"), (void *)menu, (void *)userptr)); @@ -66,7 +67,7 @@ set_menu_userptr(MENU * menu, void *userptr) | Return Values : Value of the pointer. If no such pointer has been set, | NULL is returned +--------------------------------------------------------------------------*/ -NCURSES_EXPORT(void *) +MENU_EXPORT(void *) menu_userptr(const MENU * menu) { T((T_CALLED("menu_userptr(%p)"), (const void *)menu));