GBDK 2020 Docs 4.4.0 API Documentation for GBDK 2020

rledecompress.h
Go to the documentation of this file.
1
9 #ifndef __RLEDECOMPRESS_H_INCLUDE
10 #define __RLEDECOMPRESS_H_INCLUDE
11
12 #include <types.h>
13 #include <stdint.h>
14
15 #define RLE_STOP 0
16
17 #if defined(__TARGET_gb) || defined(__TARGET_ap) || defined(__TARGET_duck) || defined(__TARGET_nes)
24 uint8_t rle_init(void * data);
25
40 uint8_t rle_decompress(void * dest, uint8_t len);
41 #elif defined(__TARGET_sms) || defined(__TARGET_gg)
42 uint8_t rle_init(void * data) Z88DK_FASTCALL;
43 uint8_t rle_decompress(void * dest, uint8_t len) Z88DK_CALLEE;
44 #else
45 #error Unrecognized port
46 #endif
47
48 #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