aboutsummaryrefslogtreecommitdiff
path: root/pnm/image.scm
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-08-08 01:07:32 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-08-08 01:07:32 +0900
commiteea3a41609ab2ac72d19166812e01213de3b0bc3 (patch)
treeeeca387f7e318fa866798704146d51270451db7f /pnm/image.scm
parentf771fb288ff62d761fcf43e0815a9b2a482db7b4 (diff)
Rename procedures from image-pixel-ref/set! to image-ref/set!
Diffstat (limited to 'pnm/image.scm')
-rw-r--r--pnm/image.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/pnm/image.scm b/pnm/image.scm
index 15702ba..ceab0cf 100644
--- a/pnm/image.scm
+++ b/pnm/image.scm
@@ -26,8 +26,8 @@
image-data
image-pixel-getter
image-pixel-setter
- image-pixel-ref
- image-pixel-set!)
+ image-ref
+ image-set!)
(import (scheme base)
(scheme case-lambda))
(begin
@@ -42,10 +42,10 @@
(pixel-getter image-pixel-getter)
(pixel-setter image-pixel-setter))
- (define (image-pixel-ref image x y)
+ (define (image-ref image x y)
((image-pixel-getter image) x y))
- (define image-pixel-set!
+ (define image-set!
(case-lambda
((image x y v)
((image-pixel-setter image) x y v))