mirror of
https://gitlab.com/klmp200/LO27.git
synced 2026-11-08 01:19:32 +00:00
Ajouté les fx ds le .h
This commit is contained in:
1 parent
3dac9bc5f4
commit
9535e1e696
3 files changed
+29
-15
No files matched your search
@@ -62,31 +62,32 @@ int SetNextRow(cellElement* tree,cellElement* elem){
|
||||
int AddNextCol(cellElement* tree){
|
||||
|
||||
cellElement * elem = NULL;
|
||||
|
||||
printf("---insertNextCol---\n");
|
||||
|
||||
elem = CreateCellElem();
|
||||
|
||||
if (elem == NULL){
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("---insertNextCol---\n");
|
||||
|
||||
|
||||
return(SetNextCol(tree,elem));
|
||||
|
||||
}
|
||||
|
||||
|
||||
int AddNextRow(cellElement* tree){
|
||||
|
||||
cellElement * elem = NULL;
|
||||
|
||||
printf("---insertNextRow---\n");
|
||||
|
||||
elem = CreateCellElem();
|
||||
|
||||
if (elem == NULL){
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("---insertNextRow---\n");
|
||||
|
||||
return(SetNextRow(tree,elem));
|
||||
|
||||
}
|
||||
|
||||
void removeNextCol(cellElement* tree){
|
||||
|
||||
@@ -81,8 +81,6 @@ void removeNextCol(cellElement* tree);
|
||||
*/
|
||||
void removeNextRow(cellElement* tree);
|
||||
|
||||
void recursivePrint(cellElement * tree);
|
||||
|
||||
|
||||
/*---FreeCellElem---
|
||||
*Allocates a cellElement and returns it
|
||||
@@ -92,4 +90,15 @@ void recursivePrint(cellElement * tree);
|
||||
*/
|
||||
void FreeCellElement(cellElement* element);
|
||||
|
||||
|
||||
bool is_leaf(cellElement* tree);
|
||||
int SetPositionIndex(cellElement* elem,int Col,int Row);
|
||||
int SetNextCol(cellElement* tree,cellElement* elem);
|
||||
int SetNextRow(cellElement* tree,cellElement* elem);
|
||||
|
||||
|
||||
|
||||
|
||||
void recursivePrint(cellElement * tree);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user