mirror of
				https://github.com/johnwhitington/cpdf-source.git
				synced 2025-06-05 22:09:39 +02:00 
			
		
		
		
	Restore ability to compile with OCaml 3.11.2
This commit is contained in:
		
							
								
								
									
										4
									
								
								cpdf.ml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								cpdf.ml
									
									
									
									
									
								
							| @@ -841,7 +841,7 @@ let list_attached_files pdf = | ||||
|                                    | Some stream -> | ||||
|                                        Some | ||||
|                                         {name = s; | ||||
|                                          pagenumber; | ||||
|                                          pagenumber = pagenumber; | ||||
|                                          data = | ||||
|                                            (fun () -> | ||||
|                                              try | ||||
| @@ -857,7 +857,7 @@ let list_attached_files pdf = | ||||
|                               | _ -> | ||||
|                                   Some | ||||
|                                     {name = s; | ||||
|                                      pagenumber; | ||||
|                                      pagenumber = pagenumber; | ||||
|                                      data = (fun () -> raise (Pdf.PDFError "no attachment data"))} | ||||
|                               end | ||||
|                           | _ -> None | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| (* cpdf command line tools *) | ||||
| let demo = true | ||||
| let demo = false | ||||
| let noncomp = false | ||||
| let major_version = 2 | ||||
| let minor_version = 2 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user