Guest User

Untitled

a guest
Feb 18th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. bug/0000755000175000017500000000000012444570663011772 5ustar chambartchambartbug/test_endian_string.ml0000644000175000017500000000017312444570474016210 0ustar chambartchambartopen ExtUnix.All
  2.  
  3. let test_endian_string x =
  4. let module B = BigEndian in
  5. B.get_uint8 x 0
  6.  
  7. let v = test_endian_string 1
  8. bug/extUnix.ml0000644000175000017500000000003112444570474013762 0ustar chambartchambartmodule All = ExtUnixAll
  9.  
  10. bug/extUnixAll.ml0000644000175000017500000000016712444570474014425 0ustar chambartchambart
  11. external unused : unit -> unit = "caml_blit_string"
  12.  
  13. module BigEndian = struct
  14.  
  15. let get_uint8 str off =
  16. 33
  17.  
  18. end
  19. bug/build.sh0000755000175000017500000000022612444570474013430 0ustar chambartchambartocamlc -c extUnixAll.ml
  20. ocamlc -c extUnix.ml
  21. ocamlc -c -no-alias-deps test_endian_string.ml
  22. ocamlc -o test.byte extUnixAll.cmo test_endian_string.cmo
Add Comment
Please, Sign In to add comment