提交 e8f50976 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

change the demo code

上级 adea18c0
...@@ -47,14 +47,15 @@ int taosListRef(); ...@@ -47,14 +47,15 @@ int taosListRef();
void demoIterateRefs(int refId) { void demoIterateRefs(int refId) {
void *p = taosGetRefNext(refId, NULL); void *p = taosIterateRef(refId, NULL);
while (p) { while (p) {
// process P // process P
p = taosGetRefNext(refId, p); p = taosIterateRef(refId, p);
} }
} }
*/ */
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册