The iterator function (second argument) already requires that the object
is handled as 'const' thus we won't modify the object itself.
* during iteration and -1 on generic errors.
*/
int
-virJSONValueObjectForeachKeyValue(virJSONValuePtr object,
+virJSONValueObjectForeachKeyValue(const virJSONValue *object,
virJSONValueObjectIteratorFunc cb,
void *opaque)
{
const virJSONValue *value,
void *opaque);
-int virJSONValueObjectForeachKeyValue(virJSONValuePtr object,
+int virJSONValueObjectForeachKeyValue(const virJSONValue *object,
virJSONValueObjectIteratorFunc cb,
void *opaque);