mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge pull request #5863 from dan-lei/patch-1
Typo in description of mem.ptr_sub.
This commit is contained in:
+2
-2
@@ -332,7 +332,7 @@ and returns an integer count of the `T` between them.
|
|||||||
- `b`: A pointer to a type T
|
- `b`: A pointer to a type T
|
||||||
|
|
||||||
**Returns**
|
**Returns**
|
||||||
- `b` - `a` in items of T as an `int`.
|
- `a` - `b` in items of T as an `int`.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@@ -704,4 +704,4 @@ calc_padding_with_header :: proc "contextless" (ptr: uintptr, align: uintptr, he
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return int(padding)
|
return int(padding)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user