diff options
| author | DrNuget <drnuget@outlook.com> | 2025-10-29 19:56:06 +0200 |
|---|---|---|
| committer | DrNuget <drnuget@outlook.com> | 2025-10-29 19:56:06 +0200 |
| commit | 14bea573767bfe37d536929c16dedceb06bbd5cf (patch) | |
| tree | ed8b8f3fbcfeef51858b40c0662bda02f2806fd1 /brailleboi.h | |
| parent | 77afd633c610e8bfde1b66384e9309cdf249ccbb (diff) | |
| download | brailleboi-14bea573767bfe37d536929c16dedceb06bbd5cf.tar.gz | |
add braille character printing, change c standard to c23 and pedantic compiler warnings
Diffstat (limited to 'brailleboi.h')
| -rw-r--r-- | brailleboi.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/brailleboi.h b/brailleboi.h index 87d3e35..f909181 100644 --- a/brailleboi.h +++ b/brailleboi.h @@ -6,8 +6,12 @@ typedef struct image_buffer { int* contents; } image_buffer; -int brailleInit(int, int, image_buffer*); +int brailleInit(int width, int height, image_buffer* buf); -int brailleStop(image_buffer*); +int brailleStop(image_buffer* buf); + +int brailleReorganizeBits(int old); + +void braillePrint(int data); #endif |
