- Add LibLog 1.1 API support.
This commit is contained in:
parent
949ebe54fe
commit
40f38d9391
@ -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.
|
||||
|
||||
|
||||
|
||||
|
402
lib/libshmem.c
402
lib/libshmem.c
File diff suppressed because it is too large
Load Diff
@ -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); }
|
||||
|
||||
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user