- irr::io::IFileArchive** retArchiveReference = 0;
- if (!scm_is_false (ret_archive))
- {
- irr::io::IFileArchive* retArchive = unwrap_file_archive (ret_archive);
- retArchiveReference = &retArchive;
- }
- irr::io::IFileSystem* file_system = unwrap_file_system (wrapped_file_system);
- return scm_from_bool
- (file_system->addFileArchive (scm_to_utf8_stringn (filename, NULL),
- scm_to_bool (ignore_case),
- scm_to_bool (ignore_paths),
- scm_to_file_archive_type (archive_type),
- scm_to_utf8_stringn (password, NULL),
- retArchiveReference));
- }