C preprocessor: Difference between revisions

m
no edit summary
[unchecked revision][unchecked revision]
mNo edit summary
mNo edit summary
Line 22:
void alert(uint32 u);
void alert_dec(uint32 u);
 
#define complain(msg) do {\
alert_decimal(__FILE__); \
Line 30 ⟶ 31:
alert("\n"); \
} while(0)
 
void * malloc(size_t s) {
complain((uint32)kernel_heap.first_free->addr);
Line 65 ⟶ 67:
 
<<a: 14>>
<<b: 20>> //line 16 wasn'twasnt run, fun(i) has returned true
<<a: 16>> //line 22 wasn'twasnt run, !is(i) has returned true
<<a: 14>>
SYSFAIL: .... //after line 14 neither line 20 or 16 has been reached so the call fun(i) caused the page fault.
 
 
Anonymous user