Split CE code into multiple files
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m38s

This commit is contained in:
2026-03-03 20:59:21 +01:00
parent aa32f2374f
commit 2a891fcdd1
16 changed files with 726 additions and 593 deletions

14
ce/context.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _CONTEXT_H
#define _CONTEXT_H
#include "strbuf.h"
#define CPRINTF_BUF_MAX (1024 * 16)
struct context {
struct strbuf strbuf;
};
void cprintf (struct context* context, const char* fmt, ...);
#endif // _CONTEXT_H