void FEC_RegisterKLExtension(FEC_ClientRef clientRef, char const *nameCString, char const *versionCString, uint32_t numSourceFiles, FEC_KLSourceFile const *sourceFiles, int reload)

Create a new extension that consists of KL code in the form of one or more KL source files. The source file contents are provided along with their filenames (used for diagnostics).

This function will set an exception is there was some failure creating the extension.

パラメータ:
  • clientRef (FEC_ClientRef) – The client
  • const *nameCString (char) –

    The name of the new extension

  • const *versionCString (char) –

    The version of the new extension

  • const *overrideCString (char) –

    The override for the version of the new extension

  • numSourceFiles (uint32_t) – The number of KL source files provided
  • *sourceFiles (FEC_KLSourceFile) –

    The filename and source code for each source file

  • load (int) – Load the extension once it is registered.
  • reload (int) – If the extension already exists setting this to true will update its source code.