]> git.evergreen-ils.org Git - OpenSRF.git/commit
Change the return type of jsonObjectGetString so that it
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 2 Oct 2009 19:02:25 +0000 (19:02 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 2 Oct 2009 19:02:25 +0000 (19:02 +0000)
commitf915dc58a9458a42dceadd2ece94f63e75ef893a
tree4e338ba69ca7e2c209d7548b4745fe2c20a3e32e
parent415f3ef54c002c1f5499d5388a480da9d207ddc7
Change the return type of jsonObjectGetString so that it
is a pointer to const char, instead of to non-const char.

We don't want the calling code to be able to modify the innards
of the jsonObject, at least not by this back door.

I have already examined all uses of this function and modified
them where necessary to avoid compile problems.

M    include/opensrf/osrf_json.h
M    src/libopensrf/osrf_json_object.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1803 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/osrf_json.h
src/libopensrf/osrf_json_object.c