[OPEN-ILS-DEV] PATCH: osrf_json_object.c, osrf_json_utils.h

Mike Rylander mrylander at gmail.com
Fri Oct 19 19:47:38 EDT 2007


On 9/2/07, Scott McKellar <mck9 at swbell.net> wrote:
> These patches make two changes:
>
> 1. They eliminate a const-removing cast from jsonObjectToJSON().  This
> cast is no longer necessary now that a recent patch has changed the
> signature of jsonObjectEncodeClass().
>
> 2. They move the JSON_INIT_CLEAR macro out of the header file and into
> the implementation file.  No other file invokes this macro -- nor
> could it, since the macro refers to two static functions within
> osrf_json_object.c.  Strictly speaking another file could provide
> other functions with the same signatures, but I doubt that any such
> usage was ever intended.

Sorry about the delay on getting these in -- they slipped past me as I
was clearing out the backlog last month.

This one's (about to be) committed, thanks.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-dev mailing list