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

change the demo code

上级 adea18c0
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册