Trying to better understand external strings…
Can external strings, pushed to a Lua state using lua_pushexternalstring(), somehow be marked as to-be-closed (<close> in Lua) so that the allocf function passed to lua_pushexternalstring() gets called when the variable goes out of scope and not only at garbage collection time?