Skip to content
Snippets Groups Projects
Commit 2ed81f25 authored by Jean Meurice's avatar Jean Meurice
Browse files

Patch to work with no lib init

parent 78259f1d
Branches
Tags
No related merge requests found
......@@ -20,9 +20,9 @@ struct DynamicBuffer {
append((char) c);
}
void append(const char c) {
check_size(pos);
buffer[pos] = c;
++pos;
check_size(pos);
}
void append(const char* str) {
while (*str){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment