Hello. I have C source with code
#define H2O_VECTOR(type) struct { type *entries; size_t size; size_t capacity; }
typedef H2O_VECTOR(void) h2o_vector_t;
Please, help to convert it to Nim
type H2O_VECTOR[T] = object
entries: ptr T
size: csize
capacity: csize
type h2o_vector_t = H2O_VECTOR[void]
Thanks :)
Did anyone try to make bindings to h2o (libh2o) web server (library)? It is based on libuv and shows high speed of work.