emacs-devel
[Top][All Lists]
Advanced

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

[RFC] temporary Lisp_Strings


From: Dmitry Antipov
Subject: [RFC] temporary Lisp_Strings
Date: Tue, 02 Sep 2014 16:55:57 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

I'm thinking about temporary Lisp_Strings on C stack (allocated with alloca).
Simple implementation (with no check whether it fits on stack) and a few use
cases attached.  Among others, the question is: is there a way to make sure
that an address returned by alloca fits in Lisp_Object?

Dmitry


Attachment: alloca_string.patch
Description: Text Data


reply via email to

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