home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CSAPE32.ARJ
/
SOURCE
/
CSSRC
/
MENUPDPL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-09-07
|
604b
|
39 lines
/*
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));
}