On Tue, Jun 13, 2017 at 3:03 PM, Martin Gagnon <[email protected]> wrote:

> However, I think the best types for Blob structure is probably size_t.
> I'm not sure if it's okay to use size_t with C89, but fossil already use
> it in some places (even in blob.c), so I guess it's not a problem.
>

Insofar as i can find, size_t is defined in C89, but i'm not sure which
header. C99 appears to define it in stddef.h.

man malloc

shows size_t in the function signature, and malloc() is C89.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to