|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Calloc problem So there are some procedures
Dv_decoder_t *result;
Result = calloc (1, sizeof (dv_decoder_t));
If (!result) goto no_mem;
Compiler being given.
Msdn check and see such a
Void main (void)
{
Long *buffer;
Buffer = (long *) calloc (40, sizeof (long));
。。。
But the problem is that dv_decoder_t structure is, how it can be defined data types? |
Result = (dv_decoder_t *) calloc (1, sizeof (dv_decoder_t)); |
Thank you, through the |
| |