rledecompress.h
Go to the documentation of this file.
#ifndef __RLEDECOMPRESS_H_INCLUDE
#define __RLEDECOMPRESS_H_INCLUDE
#include <types.h>
#include <stdint.h>
#define RLE_STOP 0
#if defined(__TARGET_gb) || defined(__TARGET_ap) || defined(__TARGET_duck) || defined(__TARGET_nes)
uint8_t rle_init(void * data);
uint8_t rle_decompress(void * dest, uint8_t len);
#elif defined(__TARGET_sms) || defined(__TARGET_gg) || defined(__TARGET_msx)
uint8_t rle_init(void * data) Z88DK_FASTCALL;
uint8_t rle_decompress(void * dest, uint8_t len) Z88DK_CALLEE;
#else
#error Unrecognized port
#endif
#endif
Z88DK_CALLEE
#define Z88DK_CALLEE
Definition: types.h:46
Z88DK_FASTCALL
#define Z88DK_FASTCALL
Definition: types.h:47
rle_decompress
uint8_t rle_decompress(void *dest, uint8_t len)
rle_init
uint8_t rle_init(void *data)
stdint.h
uint8_t
unsigned char uint8_t
Definition: stdint.h:51