gvariant: Briefly mention limits

This commit is contained in:
Colin Walters 2011-10-12 15:22:09 -04:00
parent 0af48a5d7b
commit 15b9f64004

View File

@ -80,6 +80,11 @@
* indicator could be placed at the beginning of a file, network message
* or network stream).
*
* A #GVariant's size is limited mainly by any lowever level operating
* system constraints, such as the number of bits in #gsize. For
* example, it is reasonable to have a 2GB file mapped into memory
* with #GMappedFile, and call g_variant_new_from_data() on it.
*
* For convenience to C programmers, #GVariant features powerful
* varargs-based value construction and destruction. This feature is
* designed to be embedded in other libraries.