Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
4e0fc494
Commit
4e0fc494
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added exports and defuns for allocate-vector and make-array-header.
parent
9ac11bc2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/kernel.lisp
+14
-1
14 additions, 1 deletion
code/kernel.lisp
with
14 additions
and
1 deletion
code/kernel.lisp
+
14
−
1
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
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment