Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/aqq20189/public_html/embedders.org/kurt/wiki/lib/plugins/importoldchangelog/action.php on line 8
Deprecated: Function split() is deprecated in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/auth.php on line 146
Warning: Cannot modify header information - headers already sent by (output started at /home/aqq20189/public_html/embedders.org/kurt/wiki/lib/plugins/importoldchangelog/action.php:8) in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/auth.php on line 236
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/auth.php on line 390
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/auth.php on line 390
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/auth.php on line 387
Strict Standards: Only variables should be passed by reference in /home/aqq20189/public_html/embedders.org/kurt/wiki/doku.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at /home/aqq20189/public_html/embedders.org/kurt/wiki/lib/plugins/importoldchangelog/action.php:8) in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/actions.php on line 350
====== Макросы =====
Набор часто используемых макросов, включается обычно во все файлы проекта, через "common.h"
#ifndef KR_MACROS_INCLUDED
#define KR_MACROS_INCLUDED
#ifndef bool
typedef unsigned char bool;
#endif
#ifndef true
#define true (1)
#define false (!true)
#endif
#define BIT_CLR(port,bit) ( (port) &= ~(1<<(bit)) )
#define BIT_SET(port,bit) ( (port) |= (1<<(bit)) )
#define BIT_CPL(port,bit) ( (port) ^= (1<<(bit)) )
#define BIT_TST(port,bit) ( (port) & (1<<(bit)) )
#define CLEAR_BITS(port,bits) ( (port) &= ~(bits) )
#define SET_BITS(port,bits) ( (port) |= (bits) )
#define TEST_BITS(port,bits) ( (port) & (bits) )
#define HIWORD(val) ((val)>>16)
#define LOWORD(val) ((val) & 0xFFFF)
#define HIBYTE(val) ((val) >> 8)
#define LOBYTE(val) ((val) & 0xFF)
#define COUNTOF(x) (sizeof(x)/sizeof((x)[0]))
enum STATUS_T {
STATUS_OK = 0,
STATUS_ERROR = 1
};
#define CR '\r'
#define LF '\n'
#define CRLF "\r\n"
#endif