MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnVersionGetNext

Function xnVersionGetNext

Source/OpenNI/XnXmlScriptNode.cpp:491–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491static XnBool xnVersionGetNext(XnChar* strCurrent, XnChar** pstrNext)
492{
493 XnChar* strPoint = strchr(strCurrent, '.');
494 if (strPoint == NULL)
495 {
496 return FALSE;
497 }
498
499 *strPoint = '\0';
500 *pstrNext = strPoint + 1;
501
502 return TRUE;
503}
504
505XnBool xnReadVersionFromString(const XnChar* strVersion, XnVersion* pVersion)
506{

Callers 1

xnReadVersionFromStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected