unicorn/qemu/qobject
Markus Armbruster 146aa2ba91
qstring: Move qstring_from_substr()'s @end one to the right
qstring_from_substr() takes the index of the substring's first and
last character. qstring_from_substr(s, 0, SIZE_MAX) denotes an empty
substring. Awkward.

Shift the end index one to the right. This simplifies both
qstring_from_substr() and its callers.

Backports commit ba891d68b4ff17faaea3d3a8bfd82af3eed0a134 from qemu
2018-08-02 21:24:19 -04:00
..
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2018-03-07 17:08:17 -05:00
qbool.c qapi: Remove qobject_to_X() functions 2018-03-20 10:58:44 -04:00
qdict.c qobject: Modify qobject_ref() to return obj 2018-05-04 10:24:10 -04:00
qlist.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 10:16:07 -04:00
qlit.c qapi: Replace qobject_to_X(o) by qobject_to(X, o) 2018-03-20 10:55:57 -04:00
qnull.c qapi: Add qobject_is_equal() 2018-03-08 08:41:43 -05:00
qnum.c qapi: Remove qobject_to_X() functions 2018-03-20 10:58:44 -04:00
qobject.c qobject: use a QObjectBase_ struct 2018-05-04 10:11:24 -04:00
qstring.c qstring: Move qstring_from_substr()'s @end one to the right 2018-08-02 21:24:19 -04:00