11.04.2011 14:00, Alex Peshkoff wrote:
>   On 04/11/11 15:21, Dimitry Sibiryakov wrote:
>> You are talking about using structures (actually, pointers to them) in
>> new API, right? Passing pointers to structure to interfaces doesn't mean 
>> that user has do
>> work with these structures' members directly, AFAIU.
>
> Certainly, one can safely pass any pointer to interface if it is only
> passed, no access to it's internals is attempted.
> The problem is that with mentioned class Message there was need to work
> with members directly.

   Specifically for this task structures can have methods.

-- 
   SY, SD.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to