EgtInterface 2.3c2 :

- aggiornata interfaccia di EgtTdbToBeImported per nuovo parametro.
This commit is contained in:
Dario Sassi
2021-03-25 08:52:35 +00:00
parent 4e82fd5e8d
commit ced749f93d
3 changed files with 26 additions and 5 deletions
+3 -1
View File
@@ -200,6 +200,8 @@ __stdcall EgtDuploCount( int nSouId, int* pnCount)
BOOL
__stdcall EgtDuploList( int nSouId, int*& vInd, int* pnCount)
{
if ( &vInd == nullptr || pnCount == nullptr)
return FALSE ;
INTVECTOR vnRef ;
if ( ! ExeDuploList( nSouId, vnRef))
return FALSE ;
@@ -210,7 +212,7 @@ __stdcall EgtDuploList( int nSouId, int*& vInd, int* pnCount)
else {
vInd = (int*) malloc( nDim * sizeof( int)) ;
if ( vInd == nullptr)
return false ;
return FALSE ;
for ( int i = 0 ; i < nDim ; ++ i)
vInd[i] = vnRef[i] ;
}