odb_loose.c
21.6 KB
-
odb: make it clearer that the id is calculated in the frontend · fe0c6d4e
The frontend is in charge of calculating the id of the objects. Thus the backends should treat it as a read-only value. The positioning in the function signature made it seem as though it was an output parameter. Make the id const and move it from the front to behind the subject (backend or stream).
Carlos Martín Nieto committed