| 337 | } |
| 338 | |
| 339 | XN_C_API XnStatus xnContextRunXmlScript(XnContext* pContext, const XnChar* xmlScript, XnEnumerationErrors* pErrors) |
| 340 | { |
| 341 | XnStatus nRetVal = XN_STATUS_OK; |
| 342 | |
| 343 | XnNodeHandle hScriptNode; |
| 344 | nRetVal = xnContextRunXmlScriptEx(pContext, xmlScript, pErrors, &hScriptNode); |
| 345 | XN_IS_STATUS_OK(nRetVal); |
| 346 | |
| 347 | // take ownership of created node |
| 348 | xnMarkOwnedNode(pContext, hScriptNode); |
| 349 | xnProductionNodeRelease(hScriptNode); |
| 350 | |
| 351 | return (XN_STATUS_OK); |
| 352 | } |
| 353 | |
| 354 | XN_C_API XnStatus xnInitFromXmlFileEx(const XnChar* strFileName, XnContext** ppContext, XnEnumerationErrors* pErrors, XnNodeHandle* phScriptNode) |
| 355 | { |
no test coverage detected