2023-03-22 06:31:50 +11:00
|
|
|
/*
|
|
|
|
* edges.c
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2023-03-25 01:32:13 +11:00
|
|
|
#include "bubulles.h"
|
2023-03-22 06:31:50 +11:00
|
|
|
#include "edges.h"
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------- */
|
2023-03-25 01:32:13 +11:00
|
|
|
int print_edgelist_desc(EdgeList *list, int k)
|
|
|
|
{
|
2023-03-22 06:31:50 +11:00
|
|
|
|
2023-03-25 01:32:13 +11:00
|
|
|
printf("edgelist addr: %p\n", list);
|
2023-03-22 06:31:50 +11:00
|
|
|
|
2023-03-25 01:32:13 +11:00
|
|
|
if (k) {
|
|
|
|
fprintf(stderr, "%s: k must be 0, was %d\n", __func__, k);
|
|
|
|
return k;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
/* --------------------------------------------------------------------- */
|