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
748d4b3a
Commit
748d4b3a
authored
32 years ago
by
garland
Browse files
Options
Downloads
Patches
Plain Diff
Fixed things up so that the StringTable.h file gets written out
properly with all the other header files.
parent
b610fe4b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
motif/lisp/interface-build.lisp
+12
-11
12 additions, 11 deletions
motif/lisp/interface-build.lisp
with
12 additions
and
11 deletions
motif/lisp/interface-build.lisp
+
12
−
11
View file @
748d4b3a
...
...
@@ -61,6 +61,16 @@
(
format
out
" ~a,~%"
(
aref
*request-table*
index
)))
(
format
out
" NULL~%};~%"
))
(
defun
build-string-table
(
out
)
(
declare
(
stream
out
))
(
let
((
table
xti::*toolkit-string-table*
))
(
declare
(
simple-vector
table
))
(
write-line
"String string_table[] = {"
out
)
(
dotimes
(
index
(
length
table
))
(
format
out
" \"~a\",~%"
(
svref
table
index
)))
(
format
out
" NULL~%};~%~%"
)
(
format
out
"#define STRING_TABLE_SIZE ~a~%"
(
length
table
))))
(
defun
build-toolkit-interface
()
(
with-open-file
(
out
*class-file*
:direction
:output
:if-exists
:supersede
...
...
@@ -73,17 +83,8 @@
(
with-open-file
(
out
*interface-file*
:direction
:output
:if-exists
:supersede
:if-does-not-exist
:create
)
(
build-interface-file
out
)))
(
defun
build-string-table
()
(
build-interface-file
out
))
(
with-open-file
(
out
*string-table-file*
:direction
:output
:if-exists
:supersede
:if-does-not-exist
:create
)
(
declare
(
stream
out
))
(
let
((
table
xti::*toolkit-string-table*
))
(
declare
(
simple-vector
table
))
(
write-line
"String string_table[] = {"
out
)
(
dotimes
(
index
(
length
table
))
(
format
out
" \"~a\",~%"
(
svref
table
index
)))
(
format
out
" NULL~%};~%~%"
)
(
format
out
"#define STRING_TABLE_SIZE ~a~%"
(
length
table
)))))
(
build-string-table
out
)))
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