mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Rename minetest.register_async_metatable
to minetest.register_portable_metatable
(#14895)
This commit is contained in:
parent
d566b0e280
commit
8bff2f23c6
4 changed files with 18 additions and 12 deletions
|
@ -6715,7 +6715,7 @@ This allows you easy interoperability for delegating work to jobs.
|
|||
* Register a path to a Lua file to be imported when an async environment
|
||||
is initialized. You can use this to preload code which you can then call
|
||||
later using `minetest.handle_async()`.
|
||||
* `minetest.register_async_metatable(name, mt)`:
|
||||
* `minetest.register_portable_metatable(name, mt)`:
|
||||
* Register a metatable that should be preserved when data is transferred
|
||||
between the main thread and the async environment.
|
||||
* `name` is a string that identifies the metatable. It is recommended to
|
||||
|
@ -6755,7 +6755,7 @@ Functions:
|
|||
|
||||
* Standalone helpers such as logging, filesystem, encoding,
|
||||
hashing or compression APIs
|
||||
* `minetest.register_async_metatable` (see above)
|
||||
* `minetest.register_portable_metatable` (see above)
|
||||
|
||||
Variables:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue