Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
4e0fc494
Commit
4e0fc494
authored
Nov 10, 1990
by
wlott
Browse files
Added exports and defuns for allocate-vector and make-array-header.
parent
9ac11bc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/kernel.lisp
View file @
4e0fc494
...
...
@@ -7,10 +7,12 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/kernel.lisp,v 1.
3
1990/11/0
5
18:
27:45
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/kernel.lisp,v 1.
4
1990/11/
1
0 18:
35:32
wlott Exp $
;;;
(
in-package
"KERNEL"
)
(
export
'
(
allocate-vector
make-array-header
))
(
defun
get-header-data
(
x
)
"Return the 24 bits of data in the header of object X, which must be an
...
...
@@ -88,3 +90,14 @@
(
defun
%closure-index-ref
(
closure
index
)
"Extract the INDEXth slot from CLOSURE."
(
%closure-index-ref
closure
index
))
(
defun
allocate-vector
(
type
length
words
)
"Allocate a unboxed, simple vector with type code TYPE, length LENGTH, and
WORDS words long. Note: it is your responsibility to assure that the
relation between LENGTH and WORDS is correct."
(
allocate-vector
type
length
words
))
(
defun
make-array-header
(
type
rank
)
"Allocate an array header with type code TYPE and rank RANK."
(
make-array-header
type
rank
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment