rdicosmo / parmap

Parmap is a minimalistic library allowing to exploit multicore architecture for OCaml programs with minimal modifications.
http://rdicosmo.github.io/parmap/
Other
94 stars 20 forks source link

handle safe-string #97

Closed olafhering closed 4 years ago

olafhering commented 4 years ago

String_val() will return 'const char *'.

Signed-off-by: Olaf Hering olaf@aepfle.de

UnixJunkie commented 4 years ago

Does it unlock the compilation for some particular ocaml version? Does it still compiles for older ocaml versions?

olafhering commented 4 years ago

Byte exists since 1995. The changed function is unused, could be moved into a #if 0 block in a separate commit.

memcpy expects const src *.

rdicosmo commented 4 years ago

Thank you for spotting this