int* convert_LList_to_intArray(LList* myList) - AmiralBl3ndic/CLib_v2 GitHub Wiki
int* convert_LList_to_intArray(LList* myList)
This function converts a LList to an integers array
Warning
This function may cause the program to end due to use of check_alloc() function
Parameters:
- LList* myList: pointer on any element (node) of the LList to convert
Return values:
Generated integers array
Example:
LList* myList = init_LList(8);
int* array = NULL;
//Code to fill the LList
array = convert_LList_to_intArray(myList);