Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gendl
gendl-patches
gendl-patches
Commits
a587b5ae
Commit
a587b5ae
authored
Nov 14, 2020
by
Dave Cooper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added toggle-slot function
parent
55d494a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
source/gdl.lisp
source/gdl.lisp
+4
-0
No files found.
source/gdl.lisp
View file @
a587b5ae
...
...
@@ -401,3 +401,7 @@ This function will be run in the initiating image after the build is finished."
(
if
(
eql
,
val-arg
'gdl-rule:%not-handled%
)
(
not-handled
,
self-arg
,
(
make-keyword
attr-sym
)
,
args-arg
)
,
val-arg
)))))))))))
computed-slots
)))
(
define-object-amendment
vanilla-mixin
()
:functions
((
toggle-slot!
(
slot
)
(
the
(
set-slot!
slot
(
not
(
the
(
evaluate
slot
))))))))
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