Split CE code into multiple files
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m38s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m38s
This commit is contained in:
15
ce/strbuf.h
Normal file
15
ce/strbuf.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _STRBUF_H
|
||||
#define _STRBUF_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
struct strbuf {
|
||||
char* items;
|
||||
size_t count, capacity;
|
||||
};
|
||||
|
||||
void strbuf_append (struct strbuf* strbuf, char c);
|
||||
|
||||
void strbuf_append_str (struct strbuf* strbuf, const char* s);
|
||||
|
||||
#endif // _STRBUF_H
|
||||
Reference in New Issue
Block a user