Objectivec bridge and pointer to pointer

Alain Fischer mailinglist.fischer at bluewin.ch
Mon Feb 13 21:00:20 UTC 2006


Hi Davide,

Currently, I think this is not supported. You can see the supported  
signature in:
- ObjcBridge>>coerce:to: for the parameters
- ObjcBridge>>coerce:from: for the return value
These signature are defined here:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ 
Articles/chapter_5_section_7.html
and for exemple: a pointer to a pointer to an int "int **" will have  
"^^i" as signature.
As you see the possible signature could be very large and only the most  
common have been implemented.
You can add your needed type in one of the ObjcBridge>>coerce* method.

Alain


Le 13 févr. 06, à 11:00, Davide Varvello a écrit :

> Hi All,
>   How can I call, from squeak, a cocoa method which has a pointer to  
> pointer as parameter?
>
>  TIA
>   Davide
>




More information about the Squeak-dev mailing list