• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

registerCFunction

NES2+Syntax

registerCFunction(JSFuncName, libPath, CFunc)

Description

registerCFunction is a top-level function that is not associated with any core object. registerCFunction is used to register a C function in a shared library as a JavaScript function so it can be used in your scripts. These libraries are the pre-built .dll files on Windows machines and .so files on UNIX machines. registerCFunction takes the JavaScript name you want to assign the C function, the path to the library, and the actual name of the C function you want to register in the library. The function returns a boolean value based on the success of the registration.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint