diff options
author | dos-reis <gdr@axiomatics.org> | 2011-11-16 13:20:39 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-11-16 13:20:39 +0000 |
commit | 3f5e42cc9a9db6ddbbb90d130826ad6dd3b7d770 (patch) | |
tree | 0e60bb72b3f05a9fae2f0b7b797478f61c21225a /src/lisp | |
parent | 1c92a8f36879b5a91b7be0f324a05b6507e0e45e (diff) | |
download | open-axiom-3f5e42cc9a9db6ddbbb90d130826ad6dd3b7d770.tar.gz |
* interp/category.boot (mkCategory): Tidy.
(SigListUnion): Likewise. The last argument is not a vector buffer.
(JoinInner): Use a vector buffer for scratch space to compute the
initial principal ancestor. Simplify copy logic.
* interp/g-util.boot (mkBuffer): New.
(bufferData): New.
(buffeLength): Likewise.
(resizeBuffer): Likewise.
(bufferToVector): Likwise.
* lisp/core.lisp.in (mkVector): New. Export.
Diffstat (limited to 'src/lisp')
-rw-r--r-- | src/lisp/core.lisp.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index 431894b5..948df067 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -149,6 +149,7 @@ "makeByteArray" "makeBitVector" "makeString" + "mkVector" "listToString" "%hasFeature" @@ -1415,6 +1416,9 @@ (setq l (cdr l))) s)) +(defmacro |mkVector| (n) + `(make-array ,n :initial-element nil)) + ;; native data type translation table (defconstant |$NativeTypeTable| '((|void| . @void_type@) |