#15636: Document ABI conventions
-----------------------+----------------------------
Reporter: X512 | Owner: nobody
Type: task | Status: closed
Priority: normal | Milestone: Unscheduled
Component: System | Version: R1/Development
Resolution: invalid | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------+----------------------------
Changes (by waddlesplash):
* status: new => closed
* resolution: => invalid
Comment:
We do not do anything special here, Haiku just uses GCC (now 8) with no
particular ABI customizations, so we are following the Itanium C++ ABI,
which is already well documented: https://itanium-cxx-abi.github.io/cxx-
abi/abi.html
Structs passed by value (such as pattern) are stored on stack as is, butclasses such as BPoint are passed by pointer.
BView::StrokeLine(BPoint, BPoint, pattern) is not working if stack isnot aligned.