diff options
| author | Juan Linietsky | 2014-08-01 22:10:38 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-08-01 22:10:38 -0300 |
| commit | 678948068bbde7f12a9c5f28a467b6cf4d127851 (patch) | |
| tree | 75572f3a5cc6089a6ca3046e9307d0a7c0b72c51 /core/ustring.h | |
| parent | 9ff6d55822647c87eef392147ea15641d0922d47 (diff) | |
| download | godot-678948068bbde7f12a9c5f28a467b6cf4d127851.tar.gz godot-678948068bbde7f12a9c5f28a467b6cf4d127851.tar.zst godot-678948068bbde7f12a9c5f28a467b6cf4d127851.zip | |
Diffstat (limited to 'core/ustring.h')
| -rw-r--r-- | core/ustring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ustring.h b/core/ustring.h index 13db00f07..483134186 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -183,7 +183,8 @@ public: uint32_t hash() const; /* hash the string */ uint64_t hash64() const; /* hash the string */ String md5_text() const; - + Vector<uint8_t> md5_buffer() const; + inline bool empty() const { return length() == 0; } // path functions |
