August 1999
Intermediate to advanced
1488 pages
72h 53m
English
callC(JSFuncName, arg1, arg2, …, argN)
The callC function is a top-level function that is not associated with any core object. callC is used to call a JavaScript function that references a C function in a shared library. These libraries are the pre-built .dll files on Windows machines and .so files on UNIX machines. callC takes the JavaScript name you have assigned the C function and any arguments the function needs as arguments.
Before you can call this function, you must register the C library using the server-side JavaScript registerCFunction. registerCFunction takes the JavaScript name with which you want to reference the function, the path to the library, and the C function name as parameters.
Read now
Unlock full access