tokyo.assoc-functor: Fix at*

db4
Bruno Deferrari 2009-06-18 20:35:38 -03:00
parent f18655fd55
commit cd4203f00e
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ INSTANCE: TYPE assoc
M: TYPE dispose* [ DBDEL f ] change-handle drop ;
M: TYPE at* ( key db -- value/f ? )
handle>> [ object>bytes dup length ] dip 0 <int>
handle>> swap object>bytes dup length 0 <int>
DBGET [ [ memory>object ] [ tcfree ] bi t ] [ f f ] if* ;
M: TYPE assoc-size ( db -- size ) handle>> DBRNUM ;