Behaviour of has_next (Fwd: dbus/qt qdbusmarshall.cpp,1.5,1.6)

Havoc Pennington hp at redhat.com
Sun May 7 08:27:41 PDT 2006


Hi,

Thiago Macieira wrote:
> Should we change the behaviour in libdbus-1?
>

Looked at it a bit, I can't figure out why it works the way it currently 
does ... changing it makes sense to me. Should improve the somewhat 
unhelpful doxygen for it at the same time.

The implementation could just be get_current_type(&iter) != INVALID I 
think for the Java behavior, i.e. "does the iterator currently point to 
a valid value"

Havoc




More information about the dbus mailing list