[Openmcl-devel] CGRectMake

Camille Troillard tuscland at mac.com
Sun Dec 7 16:02:32 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!


I have noticed a behavior that I can not understand using a call to the 
FFI function CGRectMake.  If I do for instance:

? (#_CGRectMake 0 1 2 3)

 > Error in process listener(2): Foreign function not found: 
OS::|CGRectMake|
 > While executing: CCL::LOAD-EXTERNAL-FUNCTION


Then:

1 > :pop

? (require "COCOA")

? (#_CGRectMake 0 1 2 3)
 > Error in process Listener(4): Missing arguments in (OS::|CGRectMake| 
0 1 2 3)
 > While executing: CCL::%EXTERNAL-CALL-EXPANDER


However CGRectMake is correctly referenced in darwin-headers database 
in the carbon directory.  I really can't explain what's going on 
because I have no problem when calling #_CGContextSetGrayFillColor, 
though I don't have a visual proof it works as I am stuck in writing my 
program, really!


Thanks in advance for any help,
Camille
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/07+Y853C3OvcKOoRAo2gAKCV8dEx0uhxa7E076jquPPCd2JOKwCdGFpj
dPiEUdaF0fuFgi8Zy69wJDg=
=y/vq
-----END PGP SIGNATURE-----



More information about the Openmcl-devel mailing list