projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move string-length to non-primitive
[jscl.git]
/
src
/
string.lisp
diff --git
a/src/string.lisp
b/src/string.lisp
index
574c8b7
..
1bb322b
100644
(file)
--- a/
src/string.lisp
+++ b/
src/string.lisp
@@
-16,6
+16,9
@@
(defun stringp (s)
(stringp s))
+(defun string-length (string)
+ (storage-vector-size string))
+
(defun make-string (n &key initial-element)
(make-array n :element-type 'character :initial-element initial-element))