refactor(data structures): removed unused includes
This commit is contained in:
parent
8dd77f8e39
commit
827723e725
6 changed files with 2 additions and 7 deletions
|
|
@ -57,4 +57,4 @@ FledastyError fledasty_doubly_linked_list_clear(FledastyDoublyLinkedList *curren
|
||||||
bool fledasty_doubly_linked_list_has_value(const FledastyDoublyLinkedList *current_doubly_linked_list, void *value);
|
bool fledasty_doubly_linked_list_has_value(const FledastyDoublyLinkedList *current_doubly_linked_list, void *value);
|
||||||
static inline bool fledasty_doubly_linked_list_is_empty(const FledastyDoublyLinkedList *current_doubly_linked_list) { return current_doubly_linked_list == NULL || current_doubly_linked_list->size == 0; }
|
static inline bool fledasty_doubly_linked_list_is_empty(const FledastyDoublyLinkedList *current_doubly_linked_list) { return current_doubly_linked_list == NULL || current_doubly_linked_list->size == 0; }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "../../Include/Fledasty/Core/DynamicArray.h"
|
#include "../../Include/Fledasty/Core/DynamicArray.h"
|
||||||
#include "Fledasty/Utils/Error.h"
|
|
||||||
|
|
||||||
#include <Hallocy/Core/Allocator.h>
|
#include <Hallocy/Core/Allocator.h>
|
||||||
#include <Hallocy/Core/Memory.h>
|
#include <Hallocy/Core/Memory.h>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "../../Include/Fledasty/Core/LinkedList.h"
|
#include "../../Include/Fledasty/Core/LinkedList.h"
|
||||||
#include "Fledasty/Utils/Error.h"
|
|
||||||
|
|
||||||
#include <Hallocy/Core/Allocator.h>
|
#include <Hallocy/Core/Allocator.h>
|
||||||
#include <Hallocy/Core/Memory.h>
|
#include <Hallocy/Core/Memory.h>
|
||||||
|
|
@ -68,7 +67,7 @@ FledastyError fledasty_linked_list_initialize(FledastyLinkedList *new_linked_lis
|
||||||
hallocy_free(previous_node->value);
|
hallocy_free(previous_node->value);
|
||||||
hallocy_free(previous_node);
|
hallocy_free(previous_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
return FLEDASTY_ERROR_FAILED_ALLOCATION;
|
return FLEDASTY_ERROR_FAILED_ALLOCATION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "../../Include/Fledasty/Core/Queue.h"
|
#include "../../Include/Fledasty/Core/Queue.h"
|
||||||
#include "Fledasty/Utils/Error.h"
|
|
||||||
|
|
||||||
#include <Hallocy/Core/Allocator.h>
|
#include <Hallocy/Core/Allocator.h>
|
||||||
#include <Hallocy/Core/Memory.h>
|
#include <Hallocy/Core/Memory.h>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "../../Include/Fledasty/Core/Stack.h"
|
#include "../../Include/Fledasty/Core/Stack.h"
|
||||||
#include "Fledasty/Utils/Error.h"
|
|
||||||
|
|
||||||
#include <Hallocy/Core/Allocator.h>
|
#include <Hallocy/Core/Allocator.h>
|
||||||
#include <Hallocy/Core/Memory.h>
|
#include <Hallocy/Core/Memory.h>
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "../../Include/Fledasty/Strings/UTF8String.h"
|
#include "../../Include/Fledasty/Strings/UTF8String.h"
|
||||||
#include "Fledasty/Utils/Error.h"
|
|
||||||
|
|
||||||
#include <Hallocy/Core/Allocator.h>
|
#include <Hallocy/Core/Allocator.h>
|
||||||
#include <Hallocy/Core/Memory.h>
|
#include <Hallocy/Core/Memory.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue