Here's an inspect of an object pointer I'm trying to unpack:
#<OSX::ObjcPtr:0xe0e25a cptr=0x2191ec0 allocated_size=0
encoding={_CFURLRequest=}>
So I try to cast it:
p ns_url_request._CFURLRequest.cast_as('{_CFURLRequest=CFURLRequest}')
Which fails with:
Can't convert object to type '{_CFURLRequest=CFURLRequest}'
I found the following information on casting to struct from the objc pdf:
structure {name=type...}
I've tried many different variations on that struct cast string. Does
anyone know what the proper form is?
-Steve
|