Is there a way to access a static array from D without knowing the size of the array?

Let suppose there is an array, somewhere in lib.c.

int tab[64];

and there is header file lib.h with following reference:

extern int tab[];

How to declare `tab` in the D code without knowing the size of the array? In other words, how to map external declaration of the `tab` to the D code?



Reply via email to