Index:
[thread]
[date]
[subject]
[author]
From: becka@rz.uni-duesseldorf.de
To : ggi-develop@eskimo.com
Date: Mon, 10 May 1999 16:40:59 +0200 (MET DST)
Re: Troubles with ggiSetEvent
Hi !
> I just looked at my copy of the source, and I'd like to wonder something
> on this topic:
> Why are the GGI wrappers around the GII functions not implemented, where
> not too complex, as macros? As it is, they are in the library, and the
> compiler can't inline from a library. So we end up with an extra
> function call, for no good reason.
> Or am I an idiot, and there is a reason?
There is. Opacity of the ggi_visual_t. The idea is, that the application,
in order not to need relinking, if we change internal structs, should never
access something inside such internal structs.
A Macro would need to access vis->input which would break that scheme.
Moreover, we migt one day decide, that LibGII should be replaced by
something superior we found somewhere, so the function allows to even
transparently do this.
CU, Andy
--
Andreas Beck | Email : <Andreas.Beck@ggi-project.org>
Index:
[thread]
[date]
[subject]
[author]