Joy Online Manual

NAME
objc:call - Call-dereference a function pointer

SYNOPSIS

objc:call address returnType argumentTypes ?argument ...?

DESCRIPTION
Calls the C function at address with the given arguments, performing argument and return value conversions using the given types.

EXAMPLE

tcl> objc:call [objc:funcPtr cos] double double 0.0
1.0

SEE ALSO

objc:declare
objc:funcPtr
objc:typedef

KEYWORDS
dereferencing, function, pointer

Index