Subject: CVS commit: src/common/lib/libprop
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 08/22/2006 21:21:24
Module Name:	src
Committed By:	thorpej
Date:		Tue Aug 22 21:21:23 UTC 2006

Modified Files:
	src/common/lib/libprop: prop_array.c prop_bool.c prop_data.c
	    prop_dictionary.c prop_number.c prop_string.c

Log Message:
Also guard object accessors against NULL (like we do foreign object types)
so that apps can use this construct safely:

	obj = prop_dictionary_get(dict, "value");
	if (! prop_number_equals_integer(obj, 5)) {

Suggested by Iain Hibbert.

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/common/lib/libprop/prop_array.c
cvs rdiff -r1.4 -r1.5 src/common/lib/libprop/prop_bool.c \
cvs rdiff -r1.3 -r1.4 src/common/lib/libprop/prop_data.c \
cvs rdiff -r1.10 -r1.11 src/common/lib/libprop/prop_dictionary.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.