Paste: a tear to my eye

Author: erikc
Mode: factor
Date: Fri, 26 Feb 2010 09:47:43
Plain Text |
: swap! ( struct -- struct )
    [ [ >c-ptr ] [ class struct-slots ] bi [
        [ offset>> dup ] [ type>> heap-size + ] bi rot <slice> reverse! drop
    ] with each ] keep ;

New Annotation

Summary:
Author:
Mode:
Body: