From: Sam S. <sd...@gn...> - 2007-09-24 14:26:45
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Masayuki, Masayuki Onjo wrote: >> why not use with_gdbm_key() for content_obj too? >> why not use here datum_to_object()? > > It's *very* nice code!! thank you! OK, now you need to replace :BINARY argument with :TYPE argument which can be 'STRING, 'VECTOR, 'INTEGER, 'SINGLE-FLOAT or 'DOUBLE-FLOAT. you will need to change datum_to_object and with_datum but nothing else. the GDBM structure, in addition to the GDBM_FILE pointer, should also contain the path and the default :TYPE for conversion. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG98kbPp1Qsf2qnMcRAq/8AJ4tAx5FNyAvy9+19SPHcjQHuygyUQCgj1rF 3VDz+wKEiML4QT1MzrnuTV0= =rzlf -----END PGP SIGNATURE----- |