externalstring and to-be-closed
Marc Balmer <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
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? - Marc -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/74FF0F6A-7B06-416E-BA73-58734A342C34%40gmail.com.