[Openmcl-devel] Missing framework constants
R. Matthew Emerson
rme at clozure.com
Tue Jul 15 12:53:24 PDT 2008
On Jul 15, 2008, at 3:26 PM, Ron Garret wrote:
> This doesn't work:
>
> ? (objc:load-framework "QTKit" :qtkit)
> NIL
> ? #$QTMediaTypeVideo
>> Error: Constant not found: X86-DARWIN64::|QTMediaTypeVideo|
>
> Am I doing something wrong? Other system constants seem to be there,
> e.g.:
>
> ? #$NSTitledWindowMask
> 1
> ? #$NSJPEGFileType
> 3
> ?
There's kind of a mismash of numeric and string constants in the
various frameworks, and it's often hard to tell which is which.
In this case, QTMediaTypeVideo is a string constant, so you have to say:
? #&QTMediaTypeVideo
#<NS-MUTABLE-STRING "vide" (#x7FFF700CA538)>
?
More information about the Openmcl-devel
mailing list