/* Generated by zi2c from vec.zi. */ #ifndef ZIRAN_VEC_H #define ZIRAN_VEC_H #include "zir_string_types.h" #ifdef __cplusplus extern "C" { #endif #ifndef ZIRAN_CONCRETE_FORWARD___type_838711075b90279a #define ZIRAN_CONCRETE_FORWARD___type_838711075b90279a typedef struct __type_838711075b90279a __type_838711075b90279a; #endif typedef struct Text Text; #ifndef ZIRAN_CONCRETE___type_838711075b90279a #define ZIRAN_CONCRETE___type_838711075b90279a struct __type_838711075b90279a { uint8_t* data; int64_t count; int64_t capacity; }; #endif struct Text { __type_838711075b90279a bytes; }; Text vec_TextCopy(String value); Text vec_TextFromBuilder(__type_838711075b90279a bytes); String vec_TextDetach(Text text); #ifdef __cplusplus } #endif #endif /* ZIRAN_VEC_H */