Hi there!
I'm coding a function from C to asm.
I need to know how much memory does Allocate the next c line:
//typedef struct { BYTE X,Y,W,H; } offsetPOS;
//offsetPOS *POS_buffer;
nControls=100
POS_buffer=(offsetPOS *)(malloc(nControls))
How many byte is allocated at POS_Buffer? 400?
Can you enligh me a bit from "(offsetPOS *)" ???
Thanks
-----
I'm coding a function from C to asm.
I need to know how much memory does Allocate the next c line:
//typedef struct { BYTE X,Y,W,H; } offsetPOS;
//offsetPOS *POS_buffer;
nControls=100
POS_buffer=(offsetPOS *)(malloc(nControls))
How many byte is allocated at POS_Buffer? 400?
Can you enligh me a bit from "(offsetPOS *)" ???
Thanks
-----