: parameter-names&types ( callable -- names types )
[ [ parameter-c-type ] map ] [ [ parameter-name ] map ] bi ;
-: def-function ( function -- )
+: def-function ( function -- )
{
[ return>> return-c-type ]
[ identifier>> ]
[ drop "in" >>direction "none" >>transfer-ownership ]
} cleave ;
-:: def-method ( method type -- )
+:: def-method ( method type -- )
method {
[ return>> return-c-type ]
[ identifier>> ]