projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore TARGET environment variable (Makefiles tend to set that and confuse cparser)
[cparser]
/
adt
/
strset.c
diff --git
a/adt/strset.c
b/adt/strset.c
index
08eccf7
..
17e24ee
100644
(file)
--- a/
adt/strset.c
+++ b/
adt/strset.c
@@
-20,6
+20,7
@@
#include <config.h>
#include "strset.h"
#include <config.h>
#include "strset.h"
+#include "strutil.h"
#include "hash_string.h"
#define HashSet strset_t
#include "hash_string.h"
#define HashSet strset_t
@@
-30,7
+31,7
@@
#define NullValue NULL
#define DeletedValue ((void*)-1)
#define Hash(this, value) hash_string(value)
#define NullValue NULL
#define DeletedValue ((void*)-1)
#define Hash(this, value) hash_string(value)
-#define KeysEqual(this,key1,key2) (str
cmp(key1, key2) == 0
)
+#define KeysEqual(this,key1,key2) (str
eq(key1, key2)
)
#define SetRangeEmpty(ptr,size) memset(ptr, 0, (size) * sizeof(strset_entry_t))
#define SCALAR_RETURN
#define SetRangeEmpty(ptr,size) memset(ptr, 0, (size) * sizeof(strset_entry_t))
#define SCALAR_RETURN