Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/common/lib/libprop



Module Name:    src
Committed By:   thorpej
Date:           Sun Aug  3 04:00:12 UTC 2008

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

Log Message:
Fix an issue introduced with the prop_stack change: It's not a good idea to
return a 3-value enum from a function declared to return bool.  This broke
the recurse case for prop_object_equals().  Instead, declare the object type
equals routine to return a _prop_object_equals_rv_t.

Give the same treatment to the object type free routines: declare them to
return a _prop_object_free_rv_t, and consistently check those return values
againt the enum type.

Tidy up some whitespace while we're here.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/common/lib/libprop/prop_array.c \
    src/common/lib/libprop/prop_number.c
cvs rdiff -r1.15 -r1.16 src/common/lib/libprop/prop_bool.c
cvs rdiff -r1.12 -r1.13 src/common/lib/libprop/prop_data.c
cvs rdiff -r1.31 -r1.32 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -r1.21 -r1.22 src/common/lib/libprop/prop_object.c
cvs rdiff -r1.26 -r1.27 src/common/lib/libprop/prop_object_impl.h
cvs rdiff -r1.10 -r1.11 src/common/lib/libprop/prop_string.c

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



Home | Main Index | Thread Index | Old Index