Re: [PATCH 2/2] json: Update jsmn library to get rid of casts

2020-04-16 Thread Daniel Kiper
On Wed, Apr 15, 2020 at 10:55:51PM +0200, Patrick Steinhardt wrote: > On Tue, Apr 14, 2020 at 08:19:01PM +0200, Daniel Kiper wrote: > > On Tue, Apr 07, 2020 at 06:02:29PM +0200, Patrick Steinhardt wrote: > > > @@ -80,7 +80,7 @@ typedef struct { > > > * JSON parser. Contains an array of token bloc

Re: [PATCH 2/2] json: Update jsmn library to get rid of casts

2020-04-15 Thread Patrick Steinhardt
On Tue, Apr 14, 2020 at 08:19:01PM +0200, Daniel Kiper wrote: > On Tue, Apr 07, 2020 at 06:02:29PM +0200, Patrick Steinhardt wrote: > > @@ -80,7 +80,7 @@ typedef struct { > > * JSON parser. Contains an array of token blocks available. Also stores > > * the string being parsed now and current po

Re: [PATCH 2/2] json: Update jsmn library to get rid of casts

2020-04-14 Thread Daniel Kiper
On Tue, Apr 07, 2020 at 06:02:29PM +0200, Patrick Steinhardt wrote: > Update our embedded version of the jsmn library to upstream commit > 053d3cd (Merge pull request #175 from pks-t/pks/struct-type, > 2020-04-02). The update adds a name for the `jsmntok` struct, which > allows us to add a forward

[PATCH 2/2] json: Update jsmn library to get rid of casts

2020-04-07 Thread Patrick Steinhardt
Update our embedded version of the jsmn library to upstream commit 053d3cd (Merge pull request #175 from pks-t/pks/struct-type, 2020-04-02). The update adds a name for the `jsmntok` struct, which allows us to add a forward declaration for the struct's typedef. As a result, we can now convert the `v