Removed unused it_start and it_end
This commit is contained in:
1 parent
8fc432b76c
commit
9cd3bf3b31
4 files changed
-16
No files matched your search
@@ -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; \
|
||||
\
|
||||
|
||||
@@ -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 */ \
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user