Update to 1.10.0-beta1
This commit is contained in:
@@ -23,14 +23,14 @@ class Text : public ScriptObject {
|
||||
public:
|
||||
/**
|
||||
* Convert a ScriptText to a normal string.
|
||||
* @return A string (in a static buffer), or NULL.
|
||||
* @return A string (in a static buffer), or nullptr.
|
||||
* @api -all
|
||||
*/
|
||||
virtual const char *GetEncodedText() = 0;
|
||||
|
||||
/**
|
||||
* Convert a #ScriptText into a decoded normal string.
|
||||
* @return A string (in a static buffer), or NULL.
|
||||
* @return A string (in a static buffer), or nullptr.
|
||||
* @api -all
|
||||
*/
|
||||
const char *GetDecodedText();
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
RawText(const char *text);
|
||||
~RawText();
|
||||
|
||||
/* virtual */ const char *GetEncodedText() { return this->text; }
|
||||
const char *GetEncodedText() override { return this->text; }
|
||||
private:
|
||||
const char *text;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user