- Complete API function header documentation,

- ND_Value_Alloc() argument normalisation: API Break!
This commit is contained in:
Arnaud G. GIBERT 2023-08-17 17:53:27 +02:00
parent 65fe68ca34
commit 70b7e5a49e
5 changed files with 839 additions and 681 deletions

View File

@ -14,7 +14,9 @@ LibNode V 2.3.0-1 - A. GIBERT - ??/08/23
All: Full english translation (No more French!) All: Full english translation (No more French!)
Convert all the files to UTF8 Convert all the files to UTF8
LibNode: Rename mispelled Desallocator to Deallocator (API possible break...) LibNode: Rename misspelled Desallocator to Deallocator (API possible break...)
ND_Value_Alloc() argument normalisation: API Break!

View File

@ -475,7 +475,7 @@ void DataStruct_Load( NDT_Root *ds_ptr, FILE *demo_file)
printf( "Input line read: \t(%s)\t(%s)\t(%s)\t(%s)\n", val0, val1, val2, val3); printf( "Input line read: \t(%s)\t(%s)\t(%s)\t(%s)\n", val0, val1, val2, val3);
printf( "Allocate Vallue: "); printf( "Allocate Vallue: ");
if( ( status = ND_Value_Alloc( ds_ptr, (void **)&value_ptr)) != NDS_OK) if( ( status = ND_Value_Alloc( (void **)&value_ptr, ds_ptr)) != NDS_OK)
{ {
printf( "ND_Value_Alloc() failed (%d) !\n", status); printf( "ND_Value_Alloc() failed (%d) !\n", status);
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -928,7 +928,7 @@ void Command_Exec( NDT_Root **DS_Ptr_Ptr, FILE *File_Output, int Choice, cha
while( i < j) while( i < j)
{ {
if( ND_Value_Alloc( *DS_Ptr_Ptr, (void **)&Module_Ptr, "x", i) == NDS_OK) if( ND_Value_Alloc( (void **)&Module_Ptr, *DS_Ptr_Ptr, "x", i) == NDS_OK)
{ {
ND_DataStruct_Value_Add( *DS_Ptr_Ptr, Module_Ptr); ND_DataStruct_Value_Add( *DS_Ptr_Ptr, Module_Ptr);
} }
@ -948,7 +948,7 @@ void Command_Exec( NDT_Root **DS_Ptr_Ptr, FILE *File_Output, int Choice, cha
while( i > j) while( i > j)
{ {
if( ND_Value_Alloc( *DS_Ptr_Ptr, (void **)&Module_Ptr, "x", i) == NDS_OK) if( ND_Value_Alloc( (void **)&Module_Ptr, *DS_Ptr_Ptr, "x", i) == NDS_OK)
{ {
ND_DataStruct_Value_Add( *DS_Ptr_Ptr, Module_Ptr); ND_DataStruct_Value_Add( *DS_Ptr_Ptr, Module_Ptr);
} }