newbie help
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Wed Mar 23 17:55:51 EST 2005
In <1111617044.361876.245460 at o13g2000cwo.googlegroups.com>, ashokbellur
wrote:
> main()
> {
> unsigned char buf1[512];
> unsigned char buf2[512];
> CODE code = TEST1
>
> # The index number is passed from the command line
> # It corresponds to one of the two buffers
>
> # if index = 1 corresponds to buf1 and if index = 2 corresponds to
> buf2
>
> buf1 = getBuf(index1);
> buf2 = getBuf(index2);
> testme( buf1, 512, code);
> testme( buf2, 512, code);
>
> return 0x0;
> }
> I just want to know if there is an equivalent way of handling multiple
> buffers and how i can map index to a buffer?
Still incomplete. You don't map an index to a buffer in that code. What
is getBuf() doing?
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list