emacs-devel
[Top][All Lists]
Advanced

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

Re: How and when to use GCPRO?


From: Stefan Monnier
Subject: Re: How and when to use GCPRO?
Date: Mon, 27 Dec 2010 11:00:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 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.

Actually, both Fcar and Fcdr can GC (by signalling an error which
triggers the debugger).


        Stefan "wondering why eval_feature_expression would need to be
                written in C rather than in Elisp"



reply via email to

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