An error occurred while fetching folder content.
Select Git revision
extmod
-
-
- Open in your IDE
- Download source code
- Download this directory
Paul Sokolovsky
authored
sizeof() can work in two ways: a) calculate size of already instantiated structure ("sizeof variable") - in this case we already no layout; b) size of structure decsription ("sizeof type"). In the latter case, LAYOUT_NATIVE was assumed, but there should possibility to calculate size for other layouts too. So, with this patch, there're now 2 forms: uctypes.sizeof(struct) uctypes.sizeof(struct_desc, layout)
Name | Last commit | Last update |
---|---|---|
.. |