blob: 21624e9db97a7196f41db506e5f5b9535d651f8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "allocator.h"
#include <stdlib.h>
struct strvec;
void strvec_init(struct strvec *strvec, size_t cap, struct allocator *allocator);
void strvec_deinit(struct strvec *strvec);
struct strvec *strvec_alloc(size_t reserved, struct allocator *allocator);
void strvec_free(struct strvec *strvec);
|