Added two new stack disciplines to LuaStack
This commit is contained in:
@@ -17,7 +17,7 @@ namespace json {
|
||||
// Returns an error message. If the error message is an
|
||||
// empty string, then the encoding was successful.
|
||||
//
|
||||
eng::string encode(LuaStack &LS, LuaSlot in, eng::string &out, bool indent, int maxlen);
|
||||
eng::string encode(LuaCoreStack &LS, LuaSlot in, eng::string &out, bool indent, int maxlen);
|
||||
|
||||
// Decode json.
|
||||
//
|
||||
@@ -27,7 +27,7 @@ namespace json {
|
||||
// In that case, we return false and set 'out' to the
|
||||
// token 'error'.
|
||||
//
|
||||
bool decode(LuaStack &LS, LuaSlot out, std::string_view in);
|
||||
bool decode(LuaCoreStack &LS, LuaSlot out, std::string_view in);
|
||||
}
|
||||
|
||||
#endif // JSON_HPP
|
||||
|
||||
Reference in New Issue
Block a user