On Nov 21, 2007 12:23 AM, Scott McKellar <[EMAIL PROTECTED]> wrote: > This patch applies the const qualifier to various things: > > 1. To a number of function parameters. > > 2. To a couple of local variables, so that we can eventually change > jsonObjectGetString() so as to return a const pointer, as it should. > > 3. To the pointer returned by oilsFMGetObject(). >
Applied. [snip] > > If the constness proves too restrictive, we can revisit the matter > or find a workaround. If all else fails we can use an evil cast > somewhere. In practice I doubt that the issue will arise. > As do I, and I'm fine with removing an unused foot-gun. Thanks Scott! -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com