(define (c-generate library #!optional prefix)
(let ((prefix (if (default-object? prefix) "" prefix))
(includes (include-cdecls library)))
- (guarantee-string prefix 'c-generate)
+ (guarantee string? prefix 'c-generate)
(let ((shim.c (string-append library "-shim.c")))
(if c-generate-noisily?
(with-notification
(define (find-c-includes env)
;; Returns the c-includes structure bound to 'C-INCLUDES in ENV.
- (guarantee-syntactic-environment env 'find-c-includes)
+ (guarantee syntactic-environment? env 'find-c-includes)
(let ((ienv (syntactic-environment->environment env)))
(if (and (environment-bound? ienv 'C-INCLUDES)
(environment-assigned? ienv 'C-INCLUDES))