EgtInterface 2.5l3 :
- aggiunte interfacce per funzioni EgtDuploInRawCount e EgtDuploWithoutRawList.
This commit is contained in:
@@ -220,6 +220,39 @@ __stdcall EgtDuploList( int nSouId, int*& vInd, int* pnCount)
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtDuploInRawCount( int nSouId, int* pnCount)
|
||||
{
|
||||
if ( pnCount == nullptr)
|
||||
return FALSE ;
|
||||
return ( ExeDuploInRawCount( nSouId, *pnCount) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtDuploWithoutRawList( int*& vInd, int* pnCount)
|
||||
{
|
||||
if ( &vInd == nullptr || pnCount == nullptr)
|
||||
return FALSE ;
|
||||
INTVECTOR vnDup ;
|
||||
if ( ! ExeDuploWithoutRawList( vnDup))
|
||||
return FALSE ;
|
||||
int nDim = int( vnDup.size()) ;
|
||||
if ( nDim == 0) {
|
||||
vInd = nullptr ;
|
||||
}
|
||||
else {
|
||||
vInd = (int*) malloc( nDim * sizeof( int)) ;
|
||||
if ( vInd == nullptr)
|
||||
return FALSE ;
|
||||
for ( int i = 0 ; i < nDim ; ++ i)
|
||||
vInd[i] = vnDup[i] ;
|
||||
}
|
||||
*pnCount = nDim ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtDuploSetModified( int nSouId)
|
||||
|
||||
Reference in New Issue
Block a user