initial add
This commit is contained in:
15
bmp.c
Normal file
15
bmp.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "cell.h"
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "stb_image_common.h"
|
||||
|
||||
IMAGE_DECODER(bmp)
|
||||
|
||||
IMAGE_ENCODER(bmp)
|
||||
|
||||
static const JSCFunctionListEntry js_bmp_funcs[] = {
|
||||
MIST_FUNC_DEF(bmp, decode, 1),
|
||||
MIST_FUNC_DEF(bmp, encode, 1)
|
||||
};
|
||||
|
||||
CELL_USE_FUNCS(js_bmp_funcs)
|
||||
Reference in New Issue
Block a user