提交 6e7b1f7d 编写于 作者: D dapan1121

add int

上级 34b2f7b8
......@@ -24,7 +24,9 @@ void demo(char* data, short itype, short ibytes, int numOfRows, long long* ts, c
printf("demo input data:%p, type:%d, rows:%d, ts:%p,%lld, dataoutput:%p, tsOutput:%p, numOfOutput:%p, buf:%p\n", data, itype, numOfRows, ts, *ts, dataOutput, tsOutput, numOfOutput, buf);
for(i=0;i<numOfRows;++i) {
if (itype == 6) {
if (itype == 4) {
r=*((int *)data+i);
} else if (itype == 6) {
r=*((float *)data+i);
} else if (itype == 7) {
r=*((double *)data+i);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册