mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Rename minetest.register_async_metatable
to minetest.register_portable_metatable
(#14895)
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user