1 2 3 4 5 6 7 8
#pragma once #include <stddef.h> struct slice { const char *ptr; /* should not be allocated or freed */ size_t len; /* length of ptr */ };