ffi: fix `path' argument to `sass_option_push_include_path'

Closes #1.
This commit is contained in:
Bogdan Popa 2020-10-30 20:14:34 +02:00
parent bf5cd14c7b
commit 33edf70127
No known key found for this signature in database
GPG Key ID: 4227ABAD6F9D03D5
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
(for ([path (reverse (current-include-paths))]) (for ([path (reverse (current-include-paths))])
;; Unlike sass_make_data_context, this function does not take ;; Unlike sass_make_data_context, this function does not take
;; ownership of path. Cool. ;; ownership of path. Cool.
(sass_option_push_include_path options path))) (sass_option_push_include_path options (path->complete-path path))))
(define ((make-compiler #:constructor make-wrapper (define ((make-compiler #:constructor make-wrapper
#:destructor free-wrapper #:destructor free-wrapper

View File

@ -43,7 +43,7 @@
;; Sass_Options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Sass_Options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define _Sass_Options-pointer (_cpointer 'Sass_Options)) (define _Sass_Options-pointer (_cpointer 'Sass_Options))
(define-sass sass_option_push_include_path (_fun _Sass_Options-pointer _string -> _void)) (define-sass sass_option_push_include_path (_fun _Sass_Options-pointer _path -> _void))
;; Sass_Context ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Sass_Context ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;