[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How and when to use GCPRO?
From: |
Leo |
Subject: |
Re: How and when to use GCPRO? |
Date: |
Mon, 27 Dec 2010 10:38:24 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (Mac OS X 10.6.5) |
On 2010-12-27 10:15 +0000, Andreas Schwab wrote:
> Whenever you call a function that can GC and you are using a reference
> to a Lisp object around that call.
>
> None of the functions you call in your example can GC.
>
> Andreas.
Thanks, Andreas. I'll keep that in mind.
If you pass a Lisp_Object as an argument to a function that does GC but
you don't need to use that object after the call, do you need to GCPRO
it?
For example, in `require' (fns.c line 2976), strictly speaking is
GCPROing `filename' absolutely necessary?
Thanks.
Leo
- How and when to use GCPRO?, Leo, 2010/12/27
- Re: How and when to use GCPRO?, Andreas Schwab, 2010/12/27
- Re: How and when to use GCPRO?,
Leo <=
- Re: How and when to use GCPRO?, Stefan Monnier, 2010/12/27
- Re: How and when to use GCPRO?, Andreas Schwab, 2010/12/27
- Re: How and when to use GCPRO?, Stefan Monnier, 2010/12/27
- Re: How and when to use GCPRO?, Daniel Colascione, 2010/12/27
- Re: How and when to use GCPRO?, Stefan Monnier, 2010/12/27
- Re: How and when to use GCPRO?, Daniel Colascione, 2010/12/27
- Re: How and when to use GCPRO?, Stefan Monnier, 2010/12/27
- Conservative scanning (was: Re: How and when to use GCPRO?), Daniel Colascione, 2010/12/27
- Re: How and when to use GCPRO?, Richard Stallman, 2010/12/28