- Add NDT_Root pointer to NDT_Allocator & NDT_Deallocator functions,

- API Break!
This commit is contained in:
2024-05-03 00:24:51 +02:00
parent e919b5d83c
commit c52ced19c5
4 changed files with 42 additions and 30 deletions

View File

@@ -152,12 +152,12 @@ NDT_Status ND_OpenStruct_Manager( NDT_Root *, NDT_Index_Id, NDT_Node *, NDT_C
/*----------------------------------------------------------------------------*/
/* Redéfinition de la fonction malloc() avec retour de type NDT_Status */
/*----------------------------------------------------------------------------*/
NDT_Status ND_Default_Allocator( void **, size_t, void *);
NDT_Status ND_Default_Allocator( void **, NDT_Root *, size_t, void *);
/*----------------------------------------------------------------------------*/
/* Redéfinition de la fonction free() avec retour de type NDT_Status */
/*----------------------------------------------------------------------------*/
NDT_Status ND_Default_Deallocator( void *, void *);
NDT_Status ND_Default_Deallocator( void *, NDT_Root *, void *);
/*----------------------------------------------------------------------------*/
/* Création d'un noeud */