Ticket #327 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

ia32 ff-call needs to pass small structures by value

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

Description

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

08/19/08 11:00:10 changed by gb

  • status changed from new to closed.
  • resolution set to fixed.

I think that this was fixed in r10493.