why declare non-ptr and pass with &?



in gtk-demo's tree_store.c source, each GtkTreeIter declared without * and passed with &.
IMHO this is out of order comparing other objects and widgets.
Is there specific reason why declare non-* and pass &?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]