Skip to content

Commit

Permalink
Change the names of the TEXT-FOO-SERVER second arguments to SEQUENCE,
Browse files Browse the repository at this point in the history
Change the names of the TEXT-FOO-SERVER second arguments to SEQUENCE,
too, to reflect what we perceive to be reality.

darcs-hash:20030719134257-ed5a3-d537982c99aba5e938c1fbd6290e4bad29c33946.gz
  • Loading branch information
csr21 committed Jul 19, 2003
1 parent 840aa21 commit ba2a09d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions text.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
(setq font new-font))))
(values width next-start)))

(defun text-extents-server (font string start end)
(defun text-extents-server (font sequence start end)
(declare (type font font)
(type sequence string)
(type sequence sequence)
(type array-index start end))
(declare (clx-values width ascent descent left right font-ascent font-descent direction))
(let ((display (font-display font))
Expand All @@ -282,7 +282,7 @@
(length (index+ (index-ceiling length 2) 2))
(resource-id font-id)
((sequence :format char2b :start start :end end :appending t)
string))
sequence))
(values
(integer-get 16)
(int16-get 12)
Expand All @@ -293,9 +293,9 @@
(int16-get 10)
(member8-get 1 :left-to-right :right-to-left)))))

(defun text-width-server (font string start end)
(defun text-width-server (font sequence start end)
(declare (type (or font gcontext) font)
(type sequence string)
(type sequence sequence)
(type array-index start end))
(declare (clx-values integer))
(let ((display (font-display font))
Expand All @@ -309,7 +309,7 @@
(length (index+ (index-ceiling length 2) 2))
(resource-id font-id)
((sequence :format char2b :start start :end end :appending t)
string))
sequence))
(values (integer-get 16)))))

(defun text-extents-local (font sequence start end width-only-p)
Expand Down

0 comments on commit ba2a09d

Please sign in to comment.