docs: uctypes: Describe couple more functions.

This commit is contained in:
Paul Sokolovsky 2015-03-24 22:35:11 +02:00
parent dfad7f471a
commit ec1b1cf834

View File

@ -115,6 +115,17 @@ Module contents
Native structure - with data endianness and alignment conforming to Native structure - with data endianness and alignment conforming to
the target ABI. the target ABI.
.. function:: sizeof(struct)
Return size of data structure in bytes. Argument can be either structure
class or specific instantiated structure object (or its field).
.. function:: addressof(obj)
Return address of an object. Argument should be bytes, bytearray or
other object supporting buffer protocol (and address of this buffer
is what actually returned).
(to be continued) (to be continued)
Structure objects Structure objects