File: plex.h

package info (click to toggle)
pilrc 2.4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 524 kB
  • ctags: 1,121
  • sloc: ansic: 6,584; asm: 137; makefile: 55
file content (22 lines) | stat: -rw-r--r-- 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


typedef struct _plex
	{
	int m_iMac;
	int m_iMax;
	int m_dGrow;
	int m_cbItem;
	void *m_rgb;
	} PLEX;
	
	
BOOL PlexInit(PLEX *pplex, int cbItem, int iMaxInit, int dGrow);
VOID PlexFree(PLEX *pplex);
int PlexGetCount(PLEX *pplex);
int PlexGetMax(PLEX *pplex);
void *PlexGetElementAt(PLEX *pplex, int i);
BOOL PlexAddElement(PLEX *pplex, void *pb);
BOOL PlexIsValid(PLEX *pplex);


#define DEFPL(NAME) typedef PLEX NAME;