chromatic wrote
> What if the PMC passed in isn't a Key PMC, but has an integer value?

Ah (sound of scales falling from my eyes) - the reason for the 
test/switch:
  if (VTABLE_isa(interp, key, CONST_STRING(interp, "Key"))) {
        switch (PObj_get_FLAGS(key) & KEY_type_FLAGS) {
...

is to handle cases where the "key" needs special handling. But 
non-KEY_flag values (non-KEY pmcs?) passed to key_integer are *not* a 
problem.

"never mind"

a
-------------------
Andy Bach
Systems Mangler
Internet: [EMAIL PROTECTED]
Voice: (608) 261-5738 Fax: 264-5932

"When angry, count to four; when very angry, swear."
Mark Twain

Reply via email to