Re: [perl #27057] Let OrderedHash store STRING and FLOATVAL

2004-02-25 Thread Leopold Toetsch
Bernhard Schmalhofer [EMAIL PROTECTED] wrote:

 This patch adds the methods 'get_number_keyed', 'set_string_keyed' and
 'set_number_keyed' to
 the OrderedHash PMC.

Thanks, applied.

 The method 'set_string_keyed_str' is also included, but I can't figure out
 when it
 will be called.

Its only usable internally. Opcodes use {g,s}et_string_keyed, which just
verify and extract a string from the contant key.

 CU, Bernhard

leo


[perl #27057] Let OrderedHash store STRING and FLOATVAL

2004-02-24 Thread via RT
# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #27057]
# in the subject line of all future correspondence about this issue. 
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27057 


This patch adds the methods 'get_number_keyed', 'set_string_keyed' and
'set_number_keyed' to
the OrderedHash PMC.
The method 'set_string_keyed_str' is also included, but I can't figure out
when it
will be called.

There are also a a couple of new PIR based tests in t/pmc/perlhash.t and
t/pmc/orderedhash.t.

Originally I wanted to add support for OrderedHash to dumper.imc, but in my
devel version I get 
a 'Speicherfehler', aka segfault.

CU, Bernhard

-- 
/* [EMAIL PROTECTED] */

GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++

orderedhash_20040224.patch
Description: Binary data