diff options
Diffstat (limited to 'libtnsl/box/string.tnsl')
-rw-r--r-- | libtnsl/box/string.tnsl | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/libtnsl/box/string.tnsl b/libtnsl/box/string.tnsl index d346464..5163328 100644 --- a/libtnsl/box/string.tnsl +++ b/libtnsl/box/string.tnsl @@ -17,4 +17,32 @@ THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED -#/
\ No newline at end of file +#/ + +;raw enum TEXT_ENCODING { + UTF_8, + UN7_1, + ASCII +} + +;struct String extends Vector (uint8) { + uint +} + +/; method String + /; cmp (String str) [int] + /; loop (self.) + + ;/ + ;/ + + /; override operator == (String str) [bool] + ;return cmp(str) == 0 + ;/ +;/ + +;struct WString extends Vector (uint16) {} + +/; method WString + +;/
\ No newline at end of file |