picrin/src/state.c

20 lines
203 B
C
Raw Normal View History

2013-10-10 03:15:41 -04:00
#include <stdlib.h>
#include "picrin.h"
pic_state *
pic_open()
{
pic_state *pic;
2013-10-10 03:18:03 -04:00
pic = (pic_state *)calloc(1, sizeof(pic_state));
2013-10-10 03:15:41 -04:00
return pic;
}
void
pic_close(pic_state *pic)
{
free(pic);
}