Instead of packing some things ("chars") into words for C to access on a byte per byte basis
He's not packing "chars". He's packing integers (note the 'I*' pack template). And whilst his sample code shows him just incrementing those integers (which he is initialising to 0), his description points out that he intends to populate the structure with "scores", which he is presumably obtaining from somehwere where they must be accessed via C.
In reply to Re^4: Passing a bytestring from Perl to Inline::C as a 2d array
by BrowserUk
in thread Passing a bytestring from Perl to Inline::C as a 2d array
by maasha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |