Removed unused it_start and it_end

This commit is contained in:
Leonardo committed 2020-05-10 21:52:27 -03:00
1 parent 8fc432b76c
commit 9cd3bf3b31
4 files changed
-16

No files matched your search

-6
View File
@@ -78,12 +78,6 @@ static const char *cmc_string_fmt_intervalheap = "struct %s<%s> "
/* Value function table */ \
struct SNAME##_fval *f_val; \
\
/* Function that returns an iterator to the start of the heap */ \
struct SNAME##_iter (*it_start)(struct SNAME *); \
\
/* Function that returns an iterator to the end of the heap */ \
struct SNAME##_iter (*it_end)(struct SNAME *); \
\
/* Custom allocation functions */ \
struct cmc_alloc_node *alloc; \
\
-6
View File
@@ -85,12 +85,6 @@ static const char *cmc_string_fmt_linkedlist = "struct %s<%s> "
\
/* Custom callback functions */ \
struct cmc_callbacks *callbacks; \
\
/* Function that returns an iterator to the start of the list */ \
struct SNAME##_iter (*it_start)(struct SNAME *); \
\
/* Function that returns an iterator to the end of the list */ \
struct SNAME##_iter (*it_end)(struct SNAME *); \
}; \
\
/* Doubly-linked list node */ \
-2
View File
@@ -8,8 +8,6 @@ struct intervalheap
size_t count;
int flag;
struct intervalheap_fval *f_val;
struct intervalheap_iter (*it_start)(struct intervalheap *);
struct intervalheap_iter (*it_end)(struct intervalheap *);
struct cmc_alloc_node *alloc;
struct cmc_callbacks *callbacks;
};
-2
View File
@@ -9,8 +9,6 @@ struct linkedlist
struct linkedlist_fval *f_val;
struct cmc_alloc_node *alloc;
struct cmc_callbacks *callbacks;
struct linkedlist_iter (*it_start)(struct linkedlist *);
struct linkedlist_iter (*it_end)(struct linkedlist *);
};
struct linkedlist_node
{