Reimplementation of Pijul in C, for education, fun and absolutely no profit
#include <stdint.h>
#include <stddef.h>

#include "common.h"
#include "hash.h"
#include "vertex.h"

int
vertexeq(struct vertex *v1, struct vertex *v2)
{
	return hasheq(&v1->change, &v2->change) && v1->start == v2->start &&
	       v1->end == v2->end;
}