diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-08-08 01:07:32 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-08-08 01:07:32 +0900 |
commit | eea3a41609ab2ac72d19166812e01213de3b0bc3 (patch) | |
tree | eeca387f7e318fa866798704146d51270451db7f /pnm/image.scm | |
parent | f771fb288ff62d761fcf43e0815a9b2a482db7b4 (diff) |
Rename procedures from image-pixel-ref/set! to image-ref/set!
Diffstat (limited to 'pnm/image.scm')
-rw-r--r-- | pnm/image.scm | 8 |
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)) |