| 2030 | } |
| 2031 | |
| 2032 | XN_C_API XnStatus xnCreateProductionTree(XnContext* pContext, XnNodeInfo* pTree, XnNodeHandle* phNode) |
| 2033 | { |
| 2034 | XnStatus nRetVal = XN_STATUS_OK; |
| 2035 | |
| 2036 | // validate input params |
| 2037 | XN_VALIDATE_INPUT_PTR(pContext); |
| 2038 | XN_VALIDATE_INPUT_PTR(pTree); |
| 2039 | XN_VALIDATE_OUTPUT_PTR(phNode); |
| 2040 | |
| 2041 | // create missing instances |
| 2042 | nRetVal = xnCreateProductionTreeImpl(pContext, pTree, phNode); |
| 2043 | XN_IS_STATUS_OK(nRetVal); |
| 2044 | |
| 2045 | return (XN_STATUS_OK); |
| 2046 | } |
| 2047 | |
| 2048 | XN_C_API XnStatus xnCreateAnyProductionTree(XnContext* pContext, XnProductionNodeType type, XnNodeQuery* pQuery, XnNodeHandle* phNode, XnEnumerationErrors* pErrors) |
| 2049 | { |
no test coverage detected