Opened 13 years ago

Closed 13 years ago

#327 closed defect (fixed)

ia32 ff-call needs to pass small structures by value

Reported by: gb Owned by: gb
Priority: major Milestone: IA-32 port
Component: Foreign Function Interface Version: unspecific
Keywords: Cc:


I believe that "small" means "32 bits or less".

One example involves the classic Carbon function FindWindow, which takes a Point (a pair of 16-bit integers) and a pointer as arguments. The Point needs to be passed in a single word on the stack; we incorrectly pass the address of the Point.

(I think that I know how to fix this, just opening the ticket for the record.)

Change History (1)

comment:1 Changed 13 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

I think that this was fixed in r10493.

Note: See TracTickets for help on using tickets.