]> mj.ucw.cz Git - libucw.git/commit
modifications done at home, not yet incorporated MJ's objections:
authorRobert Spalek <robert@ucw.cz>
Fri, 25 Jun 2004 11:28:40 +0000 (11:28 +0000)
committerRobert Spalek <robert@ucw.cz>
Fri, 25 Jun 2004 11:28:40 +0000 (11:28 +0000)
commit068b8926a1b92e1e05f8e12446d2ab27fc98de6f
tree57f4f591b1fb79838be4ef1746593433fda5cfab
parent800f0ab816de62bee738765ffe23d16436ece369
modifications done at home, not yet incorporated MJ's objections:
- added buck2obj_{alloc,free}()
- extract_odes() renamed to buck2obj_convert() and simplified its interface.
  it flushes the memory pool and calls obj_new() as used e.g. in scanner.c
- attribute lengths are stored incremented s.t. 0-lengths are allowed
- the length of the compressed part is stored as U32 instead of UTF8 to allow
  0-copy compression
- temporary usage of object.c's oa_allocate removed and we call
  obj_add_attr_ref() instead of obj_add_attr()
- renamed constants BUCKET_TYPE_*
- defined internal macro RET_ERR()
lib/buck2obj.c
lib/buck2obj.h