[gtkada] Preliminary GNOME 2.0 patches

Arnaud Charlet charlet at ACT-Europe.FR
Fri Apr 12 08:18:22 CEST 2002


> I was looking at checking the UI_Info stuff in gnome-app_helper.adb,
> and I was wondering if it might be better to change them from
> functions that essentially duplicate the information in the #define
> from gnome-app-helper.h to imports for C wrapper functions that just
> contain the define and return statement that are then inlined (so
> there's no function call overhead). That way it doesn't matter if C

You do realize that C function cannot be inlined by an Ada compiler ?

> macros change, the library just needs recompiled as opposed to hand
> edited again.

That would have some benefits, in particular if these values are likely to
change frequently, which should hopefully not be the case.

Arno




More information about the gtkada mailing list