private module symbols

Flo the_big_flo at web.de
Fri Apr 10 02:24:24 PDT 2009


Hi,

Im kinda confused about the protection attributes on module level.
The case:
I've got 2 modules.
test1.d

module test1;

import test2;

int main(char[][] args)
{
	Test2Struct s;
	return 0;
}

and test2.d

module test2;

private struct Test2Struct
{
	int var;
}




More information about the Digitalmars-d-learn mailing list