fire/draw.h
Kiëd Llaentenn 6c076eb2a9 style changes
2020-09-17 12:04:12 +00:00

22 lines
295 B
C

#ifndef DRAW_INCLUDED
#define DRAW_INCLUDED
#ifdef __OpenBSD__
#include "sys/types.h"
#else
#include "stdint.h"
#endif
struct buffer {
size_t width;
size_t height;
uint8_t* buf;
};
void init(struct buffer *buf);
void dofire(struct buffer *buf);
void cleanup(struct buffer *buf);
#endif