emacs-devel
[Top][All Lists]
Advanced

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

Re: Question about GC in C code.


From: Jan D.
Subject: Re: Question about GC in C code.
Date: Sat, 16 Nov 2002 13:37:20 +0100

lördagen den 16 november 2002 kl 02.34 skrev Richard Stallman:

    The thing is I don't think I can guarantee that it will be rarely.
    Since Gtk is new and some issues not really solved (tooltips in
    menus, Gtk toolbar), I expect more Lisp_Objects may be needed in
    Gtk callback data.  I would prefer to be able to make local changes
    in a Gtk only file rather that propagate these changes into files
    that really have nothing to do with GUI toolkits.

You can add in GC a single call to a function in one of your files
and then add more code to that function as necessary.

That was the plan.  I can add one function call in GC, but it would still
be a GTK specific solution and make alloc.c dependent on USE_GTK.
Also, I imagine I have to declare this function in a .h-file, so
now alloc.c must also include and depend on that file.

I really prefer general solutions before specific ones to reduce
coupling.

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]