From 77afd633c610e8bfde1b66384e9309cdf249ccbb Mon Sep 17 00:00:00 2001 From: DrNuget Date: Wed, 29 Oct 2025 17:57:05 +0200 Subject: initial commit, only boilerplate --- brailleboi.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 brailleboi.c (limited to 'brailleboi.c') diff --git a/brailleboi.c b/brailleboi.c new file mode 100644 index 0000000..a892dfa --- /dev/null +++ b/brailleboi.c @@ -0,0 +1,15 @@ +#include + +#include "brailleboi.h" + +int brailleInit(int width, int height, image_buffer* buf) +{ + buf->contents = malloc((width * height) * sizeof(int)); + buf->width = width; + buf->height = height; +} + +int brailleStop(image_buffer* buf) +{ + free(buf->contents); +} -- cgit v1.2.3