Turned it on in the FFI generator. Use it to suppress the "Loading
gtk-types.bin..." notifications when compiling files that c-include.
(cwd (if load/loading?
(directory-pathname (current-load-pathname))
(working-directory-pathname))))
- (include-cdecl-file library cwd cwd includes)
+ (fluid-let ((c-include-noisily? #t))
+ (include-cdecl-file library cwd cwd includes))
includes))
-(define c-include-noisily? #t)
+(define c-include-noisily? #f)
(define current-filename)
(define (include-cdecl-file filename cwd twd includes)
(name (pathname-name lib))
(const (pathname-new-name lib (string-append name "-const")))
(types (pathname-new-name lib (string-append name "-types")))
- (includes (fasload types))
- (comment (fasload const))
+ (includes (fasload types (not c-include-noisily?)))
+ (comment (fasload const (not c-include-noisily?)))
(enums.struct-values
(if (comment? comment) (comment-expression comment)
(error:wrong-type-datum comment "a fasl comment"))))