unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Question about GC in C code.
Date: Sat, 16 Nov 2002 13:37:20 +0100	[thread overview]
Message-ID: <261EA0A0-F960-11D6-B9E4-00039363E640@swipnet.se> (raw)
In-Reply-To: <E18CrqW-00054g-00@fencepost.gnu.org>


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	other threads:[~2002-11-16 12:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-09 20:36 Question about GC in C code Jan D.
2002-11-11 10:20 ` Richard Stallman
2002-11-11 14:25   ` Jan D.
2002-11-12 12:49   ` Jan D.
2002-11-12 19:44     ` Stefan Monnier
2002-11-14  4:10     ` Richard Stallman
2002-11-14  6:18       ` Jan D.
2002-11-16  1:34         ` Richard Stallman
2002-11-16 12:37           ` Jan D. [this message]
2002-11-17  5:14             ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=261EA0A0-F960-11D6-B9E4-00039363E640@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).