summaryrefslogtreecommitdiff
path: root/tnslc/utils
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/utils')
-rw-r--r--tnslc/utils/algo.tnsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tnslc/utils/algo.tnsl b/tnslc/utils/algo.tnsl
index 1668e15..8426f9d 100644
--- a/tnslc/utils/algo.tnsl
+++ b/tnslc/utils/algo.tnsl
@@ -194,3 +194,9 @@
return str
;/
+/; strclone(~uint8 cstr) [~uint8]
+ Vector out
+ out.from_cstr(cstr)
+ return out.as_cstr()
+;/
+