- Complete API function header documentation,
- ND_Value_Alloc() argument normalisation: API Break!
This commit is contained in:
parent
65fe68ca34
commit
70b7e5a49e
@ -14,7 +14,9 @@ LibNode V 2.3.0-1 - A. GIBERT - ??/08/23
|
||||
|
||||
All: Full english translation (No more French!)
|
||||
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!
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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( "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);
|
||||
}
|
||||
|
687
include/node.h
687
include/node.h
File diff suppressed because it is too large
Load Diff
741
lib/libnode.c
741
lib/libnode.c
File diff suppressed because it is too large
Load Diff
@ -928,7 +928,7 @@ void Command_Exec( NDT_Root **DS_Ptr_Ptr, FILE *File_Output, int Choice, cha
|
||||
|
||||
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);
|
||||
}
|
||||
@ -948,7 +948,7 @@ void Command_Exec( NDT_Root **DS_Ptr_Ptr, FILE *File_Output, int Choice, cha
|
||||
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user