home *** CD-ROM | disk | FTP | other *** search
- /*
- menupdpl.c
-
- % menu_PutDPL
-
- add to the menu's data ptr list
-
- C-scape 3.2
- Copyright (c) 1988, by Oakland Group, Inc.
- ALL RIGHTS RESERVED.
-
- Revision History:
- -----------------
- 1/21/90 jdc changed oslist stuff
- 3/28/90 jmd ansi-fied
- 9/07/90 jmd renamed oslist funcs
- */
-
- #include "menu.h"
-
- char *menu_PutDPL(menu_type menu, char *s)
- /*
- */
- {
- int h;
-
- if (menu->dptrlist == NULL) {
- if ((menu->dptrlist = oslist_Open(1, 0)) == NULL) {
- return(NULL);
- }
- }
- h = oslist_SetSym(menu->dptrlist, s, NULL);
-
- return(oslist_GetSym(menu->dptrlist, h));
- }
-
-
-
-