MCPcopy Create free account
hub / github.com/creatale/node-dv / sarrayClone

Function sarrayClone

deps/leptonica/src/sarray1.c:419–428  ·  view source on GitHub ↗

! * \brief sarrayClone() * * \param[in] sa string array * \return ptr to same sarray, or NULL on error */

Source from the content-addressed store, hash-verified

417 * \return ptr to same sarray, or NULL on error
418 */
419SARRAY *
420sarrayClone(SARRAY *sa)
421{
422 PROCNAME("sarrayClone");
423
424 if (!sa)
425 return (SARRAY *)ERROR_PTR("sa not defined", procName, NULL);
426 sarrayChangeRefcount(sa, 1);
427 return sa;
428}
429
430
431/*!

Callers 1

rchaExtractFunction · 0.85

Calls 1

sarrayChangeRefcountFunction · 0.85

Tested by

no test coverage detected