change the demo code
This commit is contained in:
parent
adea18c026
commit
e8f509761f
|
@ -47,14 +47,15 @@ int taosListRef();
|
|||
|
||||
void demoIterateRefs(int refId) {
|
||||
|
||||
void *p = taosGetRefNext(refId, NULL);
|
||||
void *p = taosIterateRef(refId, NULL);
|
||||
while (p) {
|
||||
|
||||
// process P
|
||||
|
||||
p = taosGetRefNext(refId, p);
|
||||
p = taosIterateRef(refId, p);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue