xxxxxxxxxx
extern(C++):
struct RGB { char r, g, b; }
void foo(RGB c);
void bar() {
RGB c;
c.r = 1;
c.g = 2;
c.b = 3;
foo(c);
}