|
From: | hx |
Subject: | Re: how to keep a copy of emacs_env or ert in module ? |
Date: | Tue, 13 Sep 2016 08:02:49 +0800 |
hx <address@hidden> schrieb am So., 11. Sep. 2016 um 06:30 Uhr:is it possible to keep a copy of the *env in module ?No. emacs_env, emacs_runtime, and emacs_value objects are only valid within the dynamic extent of the function they are created/passed in. You can't keep them around. The only exception are global references, created by make_global_ref.
[Prev in Thread] | Current Thread | [Next in Thread] |