#:use-module (ice-9 match)
#:use-module (system foreign)
#:use-module ((irrlicht bindings io) #:prefix ffi-io:)
+ #:use-module (irrlicht util)
#:export (add-file-archive!))
(define* (add-file-archive! file-system filename
('unknown ffi-io:EFAT_UNKNOWN))))
(ffi-io:add-file-archive file-system
(string->pointer filename)
- (if ignore-case 1 0)
- (if ignore-paths 1 0)
+ (bool->integer ignore-case)
+ (bool->integer ignore-paths)
type
(string->pointer password)
ret-archive)))