Am 17.06.2014 15:31, schrieb Paolo Bonzini: > Il 17/06/2014 15:28, Peter Crosthwaite ha scritto: >> >> Longer term, should "child" and "link" be macrofied and these >> hardcoded strlen's be fixed to avoid difficult developer traps if >> anyone ever tries to change the literal strings? > > Yes, good idea.
We do have static inline functions for that somewhere, probably in object.c. We could move them to the header if needed elsewhere. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg