Could be a struct or a class. Either way, configure_msg() is a method "on" the object:
struct G {
Camera camera;
};
struct Camera {
void configure_msg(int msg){}
};
...
G g;
g.camera.configure_msg(msg);
HTH,
John
Could be a struct or a class. Either way, configure_msg() is a method "on" the object:
struct G {
Camera camera;
};
struct Camera {
void configure_msg(int msg){}
};
...
G g;
g.camera.configure_msg(msg);
HTH,
John