Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allocate XPV* memory using sizeof() and the offset of the first real …
…member. This avoids tripping over alignment differences between X* and x*_allocated, because x*_allocated doesn't have a double in it. Tidy up the documentation in comments. Eliminate relative_STRUCT_OFFSET() as it is no longer used. Eliminate use of xpv_allocated, xpviv_allocated, xpvav_allocated, xpvcv_allocated and xpvfm_allocated, but leave them in the headers as they are publicly visible.
- Loading branch information
Showing
1 changed file
with
46 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters