os-k/src/kaleid/include/kalmask.h

88 lines
2.4 KiB
C
Raw Normal View History

2019-01-01 13:09:57 +01:00
//----------------------------------------------------------------------------//
// GNU GPL OS/K //
// //
// Authors: spectral` //
// NeoX //
// //
// Desc: Masks for the functions in the KCRL //
//----------------------------------------------------------------------------//
#ifndef _KALMASK_H
#define _KALMASK_H
//------------------------------------------//
2019-01-01 17:11:30 +01:00
#define memset _osk_memsetb
#define memchr _osk_memchrb
#define memsetb _osk_memsetb
#define memsetw _osk_memsetw
#define memsetd _osk_memsetd
#define memsetq _osk_memsetq
2019-01-02 17:19:13 +01:00
#define memchr _osk_memchrb
2019-01-01 17:11:30 +01:00
#define memchrw _osk_memchrw
#define memchrd _osk_memchrd
#define memchrq _osk_memchrq
#define memcpy _osk_memcpy
#define memmove _osk_memmove
#define memcmp _osk_memcmp
#define memzero _osk_memzero
2019-01-01 13:09:57 +01:00
//------------------------------------------//
2019-01-01 17:11:30 +01:00
#define strlen _osk_strlen
#define strcpy _osk_strcpy
#define strncpy _osk_strncpy
#define strrev _osk_strrev
#define reverse _osk_reverse
#define sprintf _osk_sprintf
#define snprintf _osk_snprintf
#define vsprintf _osk_vsprintf
#define vsnprintf _osk_vsnprintf
2019-01-01 13:09:57 +01:00
//------------------------------------------//
2019-01-01 17:11:30 +01:00
#define atoi _osk_atoi
#define atol _osk_atol
#define itoa _osk_itoa
#define ltoa _osk_ltoa
#define utoa _osk_utoa
#define ultoa _osk_ultoa
#define strtol _osk_strtol
#define strtoul _osk_strtoul
2019-01-01 13:09:57 +01:00
//------------------------------------------//
2019-01-01 17:11:30 +01:00
#define rand _osk_rand
#define srand _osk_srand
2019-01-01 13:09:57 +01:00
//------------------------------------------//
2019-01-01 17:11:30 +01:00
#define abs _osk_abs
#define labs _osk_labs
#define min _osk_min
#define lmin _osk_lmin
#define max _osk_max
#define lmax _osk_lmax
#define __div
#define __ldiv
#define div _osk_div
#define ldiv _osk_ldiv
2019-01-01 13:09:57 +01:00
//------------------------------------------//
// End of <kalmask.h> //
//------------------------------------------//
#endif