Leopold Toetsch wrote:
Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote:
I have been working on a dynamic PMC that calls into 'gdbm'. 'gdbm' is a
file based database, that provides dictionary lookup.
There are no fancy features yet. INVAL, FLOATVAL, PMC and STRINGS are
converted to char arrays and are written to the database file.
Shouldn't PMC use freeze/thaw?
That depends on what GDBMHash is used for. I was thinking primarily
about data exchange with non-Parrot programs. In this case one wouldn't
expect a frozen PMC as content.
The availability of 'libgdbm.so' is checked during the Parrot configuration,
which is not nice.
Why?
As an extension writer, or language implementator, my prefered starting
point is a completely built Parrot core. So when adding things I
wouldn't want to rebuild or reconfigure Parrot itself.
CU, Bernhard
--
**************************************************
Dipl.-Physiker Bernhard Schmalhofer
Senior Developer
Biomax Informatics AG
Lochhamer Str. 11
82152 Martinsried, Germany
Tel: +49 89 895574-839
Fax: +49 89 895574-825
eMail: [EMAIL PROTECTED]
Website: www.biomax.com
**************************************************