aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_storage.h
Commit message (Expand)AuthorAge
* Fix memory leaks in mod storage (#7500)red-0012018-06-30
* Code modernization: subfolders (#6283)Loïc Blot2017-08-19
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
* C++11 cleanup on constructors (#6000)Vincent Glize2017-06-19
* Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat (#...Loïc Blot2017-04-08
* Clang-format: fix some header files and remove them from whitelistLoic Blot2017-04-07
* Add ModMetadata API (#5131)Loïc Blot2017-02-08
lass="hl slc">-- Serialize function local serialized_func = string.dump(func) assert(serialized_func ~= nil) -- Serialize parameters local serialized_param = core.serialize(parameter) if serialized_param == nil then return false end local jobid = core.do_async_callback(serialized_func, serialized_param) core.async_jobs[jobid] = callback return true end