| 1199 | } |
| 1200 | |
| 1201 | XN_C_API XnStatus xnNodeInfoListAddNodeFromList(XnNodeInfoList* pList, XnNodeInfoListIterator pOtherListIt) |
| 1202 | { |
| 1203 | XnStatus nRetVal = XN_STATUS_OK; |
| 1204 | |
| 1205 | XN_VALIDATE_INPUT_PTR(pList); |
| 1206 | XN_VALIDATE_INPUT_PTR(pOtherListIt.pCurrent); |
| 1207 | |
| 1208 | // take node |
| 1209 | XnNodeInfo* pNode = xnNodeInfoListGetCurrent(pOtherListIt); |
| 1210 | |
| 1211 | // add it to list |
| 1212 | nRetVal = xnNodeInfoListAddNode(pList, pNode); |
| 1213 | XN_IS_STATUS_OK(nRetVal); |
| 1214 | |
| 1215 | return (XN_STATUS_OK); |
| 1216 | } |
| 1217 | |
| 1218 | XN_C_API XnStatus xnNodeInfoListRemove(XnNodeInfoList* pList, XnNodeInfoListIterator it) |
| 1219 | { |
no test coverage detected