Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007636 [Squeak] VM minor always 05-21-11 22:32 05-21-11 22:32
Reporter lewis View Status public  
Assigned To lewis
Priority normal Resolution open  
Status assigned   Product Version
Summary 0007636: Trouble calling a Mac Foundation function via FFI
Description Reported on vm-dev <> [^]

I'm having trouble calling a Mac Foundation function via FFI. It appears to
be the plugin for the Mac 4.2.5 VM. There was a discussion at [^]

The meat of it is:
        After I put a link to the Foundation lib in the VM's Resources
folder, I compiled:

        CarbonFunctions class>>NSMakeRectWithX: xFloat y: yFloat w:
widthFloat h: hFloat
                <apicall: void* 'NSMakeRect' (float float float float) module: 'Foundation'>
                ^self externalCallFailed

                NSMakeRectWithX: 0.0
                y: 0.0
                w: 100.0
                h: 100.0.

        Error: Unable to find function address

Other relevant info:
* I am able to call libc functions

Additional Information Previous discussion thread: <> [^]
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-21-11 22:32 lewis New Issue
05-21-11 22:32 lewis Status new => assigned
05-21-11 22:32 lewis Assigned To  => lewis

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker