git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b012c0
)
removed dict_append_if_new2
author
kramm
<kramm>
Wed, 12 Nov 2008 10:34:54 +0000
(10:34 +0000)
committer
kramm
<kramm>
Wed, 12 Nov 2008 10:34:54 +0000
(10:34 +0000)
lib/as3/utils.c
patch
|
blob
|
history
diff --git
a/lib/as3/utils.c
b/lib/as3/utils.c
index
d3d613c
..
509e2fd
100644
(file)
--- a/
lib/as3/utils.c
+++ b/
lib/as3/utils.c
@@
-103,12
+103,6
@@
int dict_append_if_new(dict_t*dict, const char*name, void*data) {
return pos;
return dict_append(dict, name, data);
}
-int dict_append_if_new2(dict_t*dict, const char*name, void*data) {
- int pos = dict_find2(dict, name, data);
- if(pos>=0)
- return pos;
- return dict_append(dict, name, data);
-}
typedef struct _commonlist {
void*entry;