]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/alien/parser/parser.factor
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
[factor.git] / basis / alien / parser / parser.factor
index dee5c6e1dd9144d8c72fa51591deeada9e38e869..837c2e3bdc7f7fe7ae986b2cc609ee6b03f0590d 100644 (file)
@@ -73,10 +73,10 @@ IN: alien.parser
 : function-quot ( return library function types -- quot )
     '[ _ _ _ _ alien-invoke ] ;
 
-:: make-function ( return! library function! parameters -- word quot effect )
-    return function normalize-c-arg function! return!
+:: make-function ( return library function parameters -- word quot effect )
+    return function normalize-c-arg :> ( return-c-type function )
     function create-in dup reset-generic
-    return library function
+    return-c-type library function
     parameters return parse-arglist [ function-quot ] dip ;
 
 : parse-arg-tokens ( -- tokens )