-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstrcollection.c
33 lines (31 loc) · 989 Bytes
/
strcollection.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*------------------------------------------------------------------------
Module: wstrcollection.c
Author: jacob
Project: Containers
State:
Creation Date:
Description: Implements the string collection container.
Added fixes from Gerome. Oct. 20 2005
------------------------------------------------------------------------*/
#include <wchar.h>
#include "containers.h"
#include "ccl_internal.h"
#define CHAR_TYPE char
#define SNPRINTF snprintf
#define STRCMP strcmp
#define STRICMP stricmp
#define STRCPY strcpy
#define STRLEN strlen
#define STRSTR strstr
#define ElementType strCollection
#define iElementType istrCollection
#define STRSTR strstr
#define GETLINE GetLine
#define STRCOMPAREFUNCTION StringCompareFn
#define INTERFACE_TYP strCollectionInterface
#define INTERFACE_OBJECT istrCollection
#define NEWLINE '\n'
static const guid strCollectionGuid = {0x64bea19b, 0x243b, 0x487a,
{0x9a,0xd6,0xcd,0xfe,0xa9,0x37,0x6e,0x88}
};
#include "strcollectiongen.c"