core :: Object :: serialization_hash
Used in combination with is_same_serialized
. If two objects are the same
in a serialization context, they must have the same serialization_hash
.
# Hash value use for serialization
#
# Used in combination with `is_same_serialized`. If two objects are the same
# in a serialization context, they must have the same `serialization_hash`.
fun serialization_hash: Int do return object_id
lib/serialization/engine_tools.nit:55,2--59,48
redef fun serialization_hash do return hash
lib/serialization/engine_tools.nit:63,2--44