Added PluginContext

This commit is contained in:
2024-06-20 23:43:16 +03:00
parent 43a07debde
commit 19aee664c2
25 changed files with 172 additions and 83 deletions

View File

@@ -13,7 +13,8 @@ typedef struct plug_t {
plug_t* p = {0};
void plug_init() {
void plug_init(plug_ctx_t* ctx) {
(void) ctx;
p = malloc(sizeof(plug_t));
assert(p != NULL && "Buy more ram KEKW");
p->count = 0;