mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Add minetest.set_noiseparam_defaults() Lua API
This commit is contained in:
@@ -401,5 +401,15 @@ std::string serializeJsonString(const std::string &plain);
|
||||
// Reads a string encoded in JSON format
|
||||
std::string deSerializeJsonString(std::istream &is);
|
||||
|
||||
// Creates a string containing comma delimited values of a struct whose layout is
|
||||
// described by the parameter format
|
||||
bool serializeStructToString(std::string *outstr,
|
||||
std::string format, void *value);
|
||||
|
||||
// Reads a comma delimited string of values into a struct whose layout is
|
||||
// decribed by the parameter format
|
||||
bool deSerializeStringToStruct(std::string valstr,
|
||||
std::string format, void *out, size_t olen);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user