Skip to content

Commit

Permalink
setf for rocket-row
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Oct 30, 2024
1 parent a883e02 commit bac6936
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rocketman.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
(defun rocket-row ()
(slot-value *rocket* 'rocketman::row))

(defmethod (setf rocket-row) (new-value)
(rocketman:set-row *rocket* (max 0 new-value)))

(defun rocket-load-file (file)
(rocketman:load-file *rocket* (truename file)))

Expand Down

0 comments on commit bac6936

Please sign in to comment.