On Tue, Apr 9, 2013 at 7:10 PM, Nico Williams <n...@cryptonector.com> wrote:

>
> > And if IBuf is an int do you really want that to be a 64-bit int on a
> 64-bit compiler?
>
> That's a different story.  SQLite3 and just about everything should be
> using specific int sizes precisely because they could vary.  In
> practice though, the only architectures of any relevance where you're
> likely to find sizeof(int) != sizeof(int32_t) are Crays and 16-bit
> CPUs, and if SQLite3 doesn't claim to run on those then that's kinda
> good enough.
>

There are assert() statements to verify that variable size assumptions are
correct:

     http://www.sqlite.org/src/artifact/5f2c4fe72f6?ln=1860-1869




-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to