You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
303 B
C
14 lines
303 B
C
void foo(int *pA, int *pB)
|
|
{
|
|
*pB = some.arr[*pA];
|
|
|
|
foo(sizeof bar / sizeof *bar, baz);
|
|
}
|
|
|
|
#define MEM_READ_BYTE(phwi, addr, data) \
|
|
*data = *((PUCHAR)((phwi)->m_pVirtualMemory + addr))
|
|
|
|
#define MEM_WRITE_BYTE(phwi, addr, data) \
|
|
*((PUCHAR)((phwi)->m_pVirtualMemory + addr)) = (UCHAR)(data)
|
|
|