fix more alien.inline tests
parent
c3f0688164
commit
d9c6230f43
|
@ -41,6 +41,11 @@ SYMBOL: c-strings
|
||||||
[ current-vocab name>> % "_" % % ] "" make ;
|
[ current-vocab name>> % "_" % % ] "" make ;
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
|
: parse-arglist ( parameters return -- types effect )
|
||||||
|
[ 2 group unzip [ "," ?tail drop ] map ]
|
||||||
|
[ [ { } ] [ 1array ] if-void ]
|
||||||
|
bi* <effect> ;
|
||||||
|
|
||||||
: append-function-body ( prototype-str body -- str )
|
: append-function-body ( prototype-str body -- str )
|
||||||
[ swap % " {\n" % % "\n}\n" % ] "" make ;
|
[ swap % " {\n" % % "\n}\n" % ] "" make ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue