From 09d26d43b5262f480fd55eab9980eff06a71edbb Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:42:18 +1000 Subject: Add string view variant of Star::String and use it it's 1:30 AM AGAIN !! !!!!! This might have broken the inventory icons of custom hats a little, need to look into that --- source/core/StarImageProcessing.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/core/StarImageProcessing.hpp') diff --git a/source/core/StarImageProcessing.hpp b/source/core/StarImageProcessing.hpp index ed560af..0b78408 100644 --- a/source/core/StarImageProcessing.hpp +++ b/source/core/StarImageProcessing.hpp @@ -137,14 +137,14 @@ typedef Variant ImageOperation; -ImageOperation imageOperationFromString(String const& string); +ImageOperation imageOperationFromString(StringView string); String imageOperationToString(ImageOperation const& operation); -void parseImageOperations(String const& params, function outputter); +void parseImageOperations(StringView params, function outputter); // Each operation is assumed to be separated by '?', with parameters // separated by ';' or '=' -List parseImageOperations(String const& params); +List parseImageOperations(StringView params); // Each operation separated by '?', returns string with leading '?' String printImageOperations(List const& operations); -- cgit v1.2.3