1
0
kolibrios/programs/system/clip/trunk/bdebug.inc
barsuk 7bc0071f59 uploaded @clip - global clipboard
git-svn-id: svn://kolibrios.org@895 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-03 01:18:10 +00:00

47 lines
517 B
PHP

; debugging include file by barsuk
; if DEBUG=TRUE, adds debug.inc
; if DEBUG=FALSE, adds stubs for several macros from debug.inc
match =TRUE, DEBUG
{
include '..\..\..\debug.inc'
macro dph1 str
\{
debug_print_hex str
push eax
mov al, ' '
call debug_outchar
pop eax
\}
macro outs str
\{
pushad
lea edx, [str]
call debug_outstr
popad
\}
}
match =FALSE, DEBUG
{
macro print message
\{
\}
macro pregs
\{
\}
macro dph1 str
\{
\}
macro outs str
\{
\}
}