make-callback-type ( return function library types names -- word quot effect )


Vocabulary
alien.parser

Inputs
returnan object
functionan object
libraryan object
typesan object
namesan object


Outputs
wordan object
quotan object
effectan object


Definition


:: make-callback-type
( return function library types names -- word quot effect )
function create-function :> type-word void* type-word
typedef type-word names return function-effect
"callback-effect" set-word-prop
type-word library "callback-library" set-word-prop
type-word return types library library-abi callback-quot
( quot -- alien ) ;