marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00502
[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 333: In Marshallable_classes, for object checksum generation (method #hash32), replaced the call to Ha...
------------------------------------------------------------
revno: 333
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: ocamlbricks
timestamp: Fri 2012-10-12 18:39:48 +0200
message:
In Marshallable_classes, for object checksum generation (method #hash32), replaced the call to Hashtbl.hash (sensitive to OCaml-version/architecture) with a call to an internal function making the job in a simple but portable way. The generated integers are in the range 0..max_int32 where max_int32 is the constant max_int defined on 32-bits architectures ((2^31)-1 ).
modified:
MARSHAL/marshallable_classes.ml
MARSHAL/marshallable_classes.mli
--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk
Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription