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 128
sources:macros [embedders WiKi ]
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/template.php on line 222
 

Макросы

Набор часто используемых макросов, включается обычно во все файлы проекта, через “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
 

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/aqq20189/public_html/embedders.org/kurt/wiki/inc/template.php on line 738
sources/macros.txt · Последние изменения: 2021/10/09 14:22 kurt
 

Strict Standards: Only variables should be passed by reference in /home/aqq20189/public_html/embedders.org/kurt/wiki/doku.php on line 77