47 lines
1.6 KiB
C
47 lines
1.6 KiB
C
|
//----------------------------------------------------------------------------//
|
||
|
// GNU GPL OS/K //
|
||
|
// //
|
||
|
// Authors: spectral` //
|
||
|
// NeoX //
|
||
|
// //
|
||
|
// Desc: Masks for the functions in the KCRL //
|
||
|
//----------------------------------------------------------------------------//
|
||
|
|
||
|
#ifndef _KALMASK_H
|
||
|
#define _KALMASK_H
|
||
|
|
||
|
//------------------------------------------//
|
||
|
// Not building for OS/K //
|
||
|
//------------------------------------------//
|
||
|
#ifndef _OSK_SOURCE
|
||
|
|
||
|
//------------------------------------------//
|
||
|
|
||
|
# define memcpy _osk_memcpy
|
||
|
# define memcmp _osk_memcmp
|
||
|
# define memzero _osk_memzero
|
||
|
|
||
|
//------------------------------------------//
|
||
|
|
||
|
# 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
|
||
|
|
||
|
//------------------------------------------//
|
||
|
|
||
|
# define itoa _osk_itoa
|
||
|
# define atoi _osk_atoi
|
||
|
|
||
|
//------------------------------------------//
|
||
|
// End of <kalmask.h> //
|
||
|
//------------------------------------------//
|
||
|
|
||
|
#endif
|
||
|
#endif
|