>
>   Neither C nor C++ define the specific sizes of different types.
>   Therefore, "long long int" can be different sizes on different
>   platforms, or even within different compilers for the same platform.
>   Without more information, we cannot say for sure if a "long long int"
>   is 64 bits or not on your platform.
>   
yes, that´s the reason the define new types in QT or in the glib:
http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html

>   However, most modern desktop systems _do_ define "long long int" to be a
>   64 bit integer.   If you want to find out, just look at the return value
>   from "sizeof(long long int)"-- if it is 8, then it is 64 bits.
>   
>   Regardless, it is extremely unlikely to be greater than 64 bits, so
>   using sqlite_bind_int64() (which does define an explicit 64 bit
>   integer) should be able to hold anything a "long long int" can hold.
>   The compiler should do any required conversion if "long long int" is
>   some other size.
>
>    -j
>
>   

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

Reply via email to