On Fri, Jan 28, 2011 at 1:13 PM, Stephan Beal <[email protected]> wrote:

> This is mostly aimed at Richard, but anyone who happens to know...
>
> i'm trying to add cson_amalgamation.[ch] to the src dir in fossil. i've
> updated makemake.tcl, but when i build,
> main.mk is generating a cson_amalgamation.h which is stripped of typedefs
> for opaque struct types which the API needs, so it won't compile.
>

You have to do a special case in the makemake.tcl script.  See the code for
how it deals with sqlite3.[ch].

I'd be more inclined to create my own JSON generator library in a single
file:  json.c.  How hard can that be?



>
> :-?
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to