Skip to content

Commit a4dfa35

Browse files
committed
Fix docs typo
1 parent 187f685 commit a4dfa35

File tree

1 file changed

+3
-3
lines changed
  • docs/source/core/data-structures

1 file changed

+3
-3
lines changed

docs/source/core/data-structures/zval.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ intimidating at first. We'll go over it step by step.
115115
``zval.value`` reserves space for the actual variable data, as discussed above.
116116

117117
``zval.u1`` stores the variable type, the given ``IS_*`` constant, along with some other flags. It's
118-
definition looks a bit complicated. You can think of the entire field as a 4 bit integer, split into
119-
3 parts. ``v.type`` stores the actual variable type, ``v.type_flags`` is used for some `reference
120-
counting <todo>`__ flags, and ``v.u.extra`` is pretty much unused.
118+
definition looks a bit complicated. You can think of the entire field as a 4 byte integer, split
119+
into 3 parts. ``v.type`` stores the actual variable type, ``v.type_flags`` is used for some
120+
`reference counting <todo>`__ flags, and ``v.u.extra`` is pretty much unused.
121121

122122
``zval.u2`` defines some more storage for various contexts that is often unoccupied. It's there
123123
because the memory would otherwise be wasted due to padding, so we may as well make use of it. We'll

0 commit comments

Comments
 (0)