Does this work?

void main()
{
   version(test1)test1.cfunction();
   else test2.cfunction();
}

All symbols belong to modules.

Reply via email to