[Openmcl-devel] Questions about #? to access variables
beque at telia.com
Sun Jun 13 18:01:45 EDT 2004
I have some questions about the #? reader macro to access foreign
I have a file containing the following:
(defvar ha #?NSToolbarSeparatorItemIdentifier)
If I try to compile that file with compile-file I get the following
? (compile-file "testar.lisp")
> Error in process listener(1): Can't dump #<A Mac Pointer #xA30725D4>
- unknown type
> While executing: CCL::FASL-UNKNOWN
> Type :POP to abort.
Type :? for other options.
Why? What should I do to get it to work?
Another question. If I type:
? (require :cocoa)
I get an unrecognized macptr:
#<A Mac Pointer #xA3085D60>
Why isn't it recognized as an objc-object? If I do
? (%get-ptr #?NSToolbarSeparatorItemIdentifier)
I get #<OBJC:OBJC-CLASS NS:NS-CF-STRING (#xA0130D40)>
Is this some class that isn't known by the bridge, and in that case why
More information about the Openmcl-devel