home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
308_01
/
gsizes.inc
< prev
next >
Wrap
Text File
|
1990-06-17
|
590b
|
36 lines
/*
* gsizes.inc -- include file for LIST.C
*/
static size_t gsize0(void);
static size_t gsize1(void);
static size_t gsize2(void);
static size_t gsize3(void);
static size_t (*gsizes[MAXLISTS])(void) = { gsize0, gsize1, gsize2, gsize3 };
static size_t gsize0(void)
{
list = listptr[0];
return lgetsize();
}
static size_t gsize1(void)
{
list = listptr[1];
return lgetsize();
}
static size_t gsize2(void)
{
list = listptr[2];
return lgetsize();
}
static size_t gsize3(void)
{
list = listptr[3];
return lgetsize();
}