- Add LibLog 1.1 API support.

This commit is contained in:
Arnaud G. GIBERT 2024-08-09 19:10:50 +02:00
parent 949ebe54fe
commit 40f38d9391
4 changed files with 208 additions and 207 deletions

View File

@ -5,7 +5,8 @@ LibShMem V 3.0.0 - A. GIBERT - 2024/05/xx
- All:
- Working on new API...
- LibShMem:
- Add LibNode 3 API support.
- Add LibNode 3 API support,
- Add LibLog 1.1 API support.

File diff suppressed because it is too large Load Diff

View File

@ -208,9 +208,9 @@ NDT_Handler SMG_DataStruct_Handlers[ NDD_HANDLER_NB] =
/* */
/*------------------------------------------------------------------------------*/
#define SM_LIBSHMEM_OPEN_CHECK() if( !SM_Base) { LG_LOG_ERROR_0( "LibShMem library is not open"); return( SMS_ERRAPI); }
#define SM_HEAP_NAME_CHECK(ptr) if( !(ptr)) { LG_LOG_ERROR_0( "Heap name is undefined"); return( SMS_ERRAPI); }
#define SM_HEAP_CHECK( ptr) if( !(ptr)) { LG_LOG_ERROR_0( "Heap is undefined"); return( SMS_ERRAPI); }
#define SM_LIBSHMEM_OPEN_CHECK() if( !SM_Base) { LG_LOG_ERROR( "LibShMem library is not open"); return( SMS_ERRAPI); }
#define SM_HEAP_NAME_CHECK(ptr) if( !(ptr)) { LG_LOG_ERROR( "Heap name is undefined"); return( SMS_ERRAPI); }
#define SM_HEAP_CHECK( ptr) if( !(ptr)) { LG_LOG_ERROR( "Heap is undefined"); return( SMS_ERRAPI); }

View File

@ -252,7 +252,7 @@ int main( int argc, char **argv)
return( -1);
}
LG_LOG_INFO_0( "Start SMAdmin");
LG_LOG_INFO( "Start SMAdmin");
/* Lancement de commande d'administration */
@ -560,7 +560,7 @@ int main( int argc, char **argv)
}
LG_LOG_INFO_0( "End SMAdmin");
LG_LOG_INFO( "End SMAdmin");
if( ( lg_status = LG_Library_Close( true)) != LGS_OK)
{