Vasily Chekalkin wrote:
Reini Urban wrote:
Log:
Remove uuid_length from public Packfile attributes.
"But anyone who cares about the length of the UUID can just go grab the
string and then get it's length." (c) jonathan
Veto:
That would disallow 0 as uuid_data. Using it as NULL-terminated is
just optional.
header->uuid_size is an important atribute for uuid_type = 1, in the
reader and in the writer.
For the record - uuid is STRING, not cstring. So, if you'll create it
as '\0' it will have length 1 and will be stored and fetched properly.
Great. This is just a change to the PIR-facing interface of the Packfile
PMC, not to the underlying struct, which still has a char* buffer and a
length.
Thanks,
Jonathan
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev