Re: Standalone Pango, take two

On Nov 2, 2008, at 11:16 AM, Sergei Steshenko wrote:

--- On Sun, 11/2/08, Torsten Schoenfeld <kaffeetisch gmx de> wrote:

More importantly even, the loop will also automatically map
over any new API we add to Pango, thus indirectly changing
Gtk2's API.  Is it better to hardcode the stuff that
should be mapped over?



I think the safest approach is to export/map _nothing_.

If one needs method/data, he/she should explicitly prefix it with
package name.

We have to map at least the constructors and some constants, or code that worked up to now will break.

Once you have an object, method lookups will Just Work.

Sallah!  I said no camels!  That's five camels!  Can't you count?
  -- Indiana Jones

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]