mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
format
This commit is contained in:
parent
9c49aa38fa
commit
2714c6548f
@ -463,8 +463,8 @@ int32_t args_setPtrWithType(Args* self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t args_foreach(Args* self,
|
int32_t args_foreach(Args* self,
|
||||||
int32_t (*eachHandle)(Arg* argEach, Args* handleArgs),
|
int32_t (*eachHandle)(Arg* argEach, Args* context),
|
||||||
Args* handleArgs) {
|
Args* context) {
|
||||||
if (NULL == self->firstNode) {
|
if (NULL == self->firstNode) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -475,7 +475,7 @@ int32_t args_foreach(Args* self,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
LinkNode* nextNode = content_getNext(nodeNow);
|
LinkNode* nextNode = content_getNext(nodeNow);
|
||||||
eachHandle(argNow, handleArgs);
|
eachHandle(argNow, context);
|
||||||
|
|
||||||
if (NULL == nextNode) {
|
if (NULL == nextNode) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user