Hi, Marcel On Tue, Jan 4, 2011 at 4:56 PM, Marcel Holtmann <[email protected]> wrote: > the append_basic D-Bus function works fine on **char and *uint8. So > either a pointer to a string (*char) or pointer to a byte (uint8. > > You differentiate between pointer to a string and pointer to a byte in > that function. So it is different since normally it is the caller that > has to give the right pointer in the first place.
Yeah, true... But if we don't differentiate the types here I'd need to cast an uint8 to void* that is not even allowed by our warning flags Lucas De Marchi _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
