fire/draw.h
Mitch Weaver 48f7ea3f3b remove ccommon dependency
remove submodule
2020-03-09 11:38:20 -05:00

23 lines
324 B
C

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