cmProc2.h/c : Added cmVectArrayWriteDirFn().
This commit is contained in:
parent
7fd6ee2cc0
commit
a59041336a
@ -3997,6 +3997,14 @@ cmRC_t cmVectArrayWrite( cmVectArray_t* p, const char* fn )
|
||||
return rc;
|
||||
}
|
||||
|
||||
cmRC_t cmVectArrayWriteDirFn(cmVectArray_t* p, const char* dir, const char* fn )
|
||||
{
|
||||
assert( dir!=NULL && fn!=NULL );
|
||||
const cmChar_t* path = cmFsMakeFn( dir, fn, NULL, NULL );
|
||||
cmRC_t rc = cmVectArrayWrite(p,path);
|
||||
cmFsFreeFn(path);
|
||||
return rc;
|
||||
}
|
||||
|
||||
cmRC_t cmVectArrayPrint( cmVectArray_t* p, cmRpt_t* rpt )
|
||||
{
|
||||
|
@ -853,7 +853,8 @@ extern "C" {
|
||||
cmRC_t cmVectArrayAppendU( cmVectArray_t* p, const unsigned* v, unsigned vn );
|
||||
|
||||
// Write a vector array in a format that can be read by readVectArray.m.
|
||||
cmRC_t cmVectArrayWrite( cmVectArray_t* p, const char* fn );
|
||||
cmRC_t cmVectArrayWrite( cmVectArray_t* p, const char* fn );
|
||||
cmRC_t cmVectArrayWriteDirFn(cmVectArray_t* p, const char* dir, const char* fn );
|
||||
|
||||
// Print the vector array to rpt.
|
||||
cmRC_t cmVectArrayPrint( cmVectArray_t* p, cmRpt_t* rpt );
|
||||
|
Loading…
Reference in New Issue
Block a user