On Wed, 29 Sep 2004 12:01:43 +0200 Mattias Gaertner
<nc-...@ne...> wrote:
>
> Should we apply this patch?
> It sounds useful, but it will break existing gtk2 applications.
Forget it.
It will break too much.
Mattias
>
> Mattias
>
>
> Begin forwarded message:
>
> Date: Wed, 29 Sep 2004 11:43:36 +0200
> From: Mazen NEIFER <ma...@fr...>
> To: laz...@mi...
> Subject: [lazarus-dev] patch for gtk2 for pascal
>
>
> Hello,
>
> Mattias, can you please commit this patch for GTK2 for pascal. It mainly
> replace all macros argument of type pointer by an untyped argument. For
> example
>
> function GTK_IS_RANGE(obj:Pointer) : boolean;
> becomes
> function GTK_IS_RANGE(const obj) : boolean;
>
> As it was initially (in C code) a macro. This also allow saving a lot of
> ifdef
> gtk2 in lazarus while keeping current code able to compile. Also these
> macros
> should accept every king of types and just test if it is a pointer to a
> valid
> range object. So I think is should be a const parameter.
>
> Mazen,
>
>
>
> --
>
--
|