checking x size of multi 2-d array
I am passing a multi-2d array through a routine, and this routine is used several times with different x sized 2-d arrays.
NOTE: The y coordinate is always 15.
Is there a way to extract the size of the x coordinate of the passed array?
For example, can you get the size of x in scan_list[x][15], as shown below within the routine?
Code:
byte check_for_duplicate_codes( byte *scan, byte scan_list[][15] )
{
...
// I want to use the size of x in scan_list[x][15] in here.
}