17 lines · 292 B · C
RawDownload
#ifndef CGIT_VECTOR_H#define CGIT_VECTOR_H #include <stdlib.h> struct vector {	size_t size;	size_t count;	size_t alloc;	void *data;}; #define VECTOR_INIT(type) {sizeof(type), 0, 0, NULL} int vector_push(struct vector *vec, const void *data, int gently); #endif /* CGIT_VECTOR_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t