Removed unused K parameters from macros that are not associative containers

This commit is contained in:
Leonardo committed 2019-04-01 12:17:43 -03:00
1 parent 904cc5b69b
commit f4440d6833
19 files changed
+286 -285

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdbool.h>
#include "../../src/deque.h"
DEQUE_GENERATE(d, deque, static, , int)
DEQUE_GENERATE(d, deque, static, int)
int main(int argc, char const *argv[])
{
+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdbool.h>
#include "../../src/hashset.h"
HASHSET_GENERATE(hs, hash_set, static, , int)
HASHSET_GENERATE(hs, hash_set, static, int)
size_t inthash(int t)
{
+1 -1
View File
@@ -11,7 +11,7 @@ int intcmp(int a, int b)
return a - b;
}
HEAP_GENERATE(h, heap, static, , int)
HEAP_GENERATE(h, heap, static, int)
int main(int argc, char const *argv[])
{
+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdbool.h>
#include "../../src/linkedlist.h"
LINKEDLIST_GENERATE(ll, linked, static, , int)
LINKEDLIST_GENERATE(ll, linked, static, int)
int main(int argc, char const *argv[])
{
+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdbool.h>
#include "../../src/list.h"
LIST_GENERATE(l, list, static, , int)
LIST_GENERATE(l, list, static, int)
int main(int argc, char const *argv[])
{
+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdbool.h>
#include "../../src/queue.h"
QUEUE_GENERATE(q, queue, static, , int)
QUEUE_GENERATE(q, queue, static, int)
int main(int argc, char const *argv[])
{
+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdbool.h>
#include "../../src/stack.h"
STACK_GENERATE(s, stack, static, , int)
STACK_GENERATE(s, stack, static, int)
int main(int argc, char const *argv[])
{
+1 -1
View File
@@ -11,7 +11,7 @@ int intcmp(int a, int b)
return a - b;
}
TREESET_GENERATE(ts, tset, static, , int)
TREESET_GENERATE(ts, tset, static, int)
int main(int argc, char const *argv[])
{