projects
/
csRadar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed m4x3 mul, rendering works
[csRadar.git]
/
vdf.h
diff --git
a/vdf.h
b/vdf.h
index 2b77a7a4f3bf65fc87aa0b7c54bc7978d8e1a782..892b65d5f304386a0efa532888e14c79398c20ca 100644
(file)
--- a/
vdf.h
+++ b/
vdf.h
@@
-1,12
+1,12
@@
#define vdf_foreach( NODE, STR, AS ) \
#define vdf_foreach( NODE, STR, AS ) \
-int __vdf_it_##
__LINE__
= 0; \
+int __vdf_it_##
AS
= 0; \
vdf_node * AS;\
vdf_node * AS;\
-while( (AS = vdf_next( NODE, STR, &__vdf_it_##
__LINE__
)) )
+while( (AS = vdf_next( NODE, STR, &__vdf_it_##
AS
)) )
#define kv_foreach( NODE, STR, AS ) \
#define kv_foreach( NODE, STR, AS ) \
-int __kv_it_##
__LINE__
= 0; \
+int __kv_it_##
AS
= 0; \
const char * AS;\
const char * AS;\
-while( (AS = kv_iter( NODE, STR, &__kv_it_##
__LINE__
)) )
+while( (AS = kv_iter( NODE, STR, &__kv_it_##
AS
)) )
#include <stdio.h>
#include <stdint.h>
#include <stdio.h>
#include <stdint.h>
@@
-105,6
+105,7
@@
struct vdf_node
vdf_kv *pairs;
u32 user;
vdf_kv *pairs;
u32 user;
+ u32 user1;
};
vdf_node *vdf_next( vdf_node *node, const char *name, int *it )
};
vdf_node *vdf_next( vdf_node *node, const char *name, int *it )