Does Nim support C-language feature to declare a reference to an object without including the external header file where the object is defined?
* * *
For example, what would be Nim analogue for the following C code:
typedef struct BoxOfStuff * pBox;
/* no need to include file where contents of BoxOfStuff is
* defined since here we don't care */
struct Warehouse {
pBox shelf[]; /* here we want compiler to ensure type of items is pBox
*/
}
