From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
> I tried putting all the interned symbols in a struct and passing speci= fying
> it as a data pointer when constructing the functions. However, this di= d not
> work as the emacs_value objects does not seem to have a lifetime outsi= de of
> the invocation of a native function. I haven't seen this documente= d
> anywhere, so that was a bit surprising at first. The fact that this fa= iled
> is the reason you see all the calls to env->intern everywhere.
This was not always the case: the behaviour was changed by Philipp at
some point. We still have the make_global_ref and free_global_ref
functions in the API, which serve no purpose as a result (correct me
if I'm wrong).