callback-parameter-quot ( params -- quot )


Vocabulary
stack-checker.alien

Inputs
paramsan alien-node-params


Outputs
quota quotation


Word description
Builds a quotation which coerces values on the stack to the required types for an alien callback. This word is essentially the opposite to param-prep-quot.

Examples
USING: alien.c-types prettyprint stack-checker.alien ; T{ alien-node-params { parameters { c-string } } } callback-parameter-quot .
[ { object } declare [ ] dip utf8 alien>string ]


Definition