lxaGetSalienceVersion

<< lxaCloseSalienceSession | Back to Salience 6 C API Index | lxaGetDefaultSalienceLocation >>

Summary

Gets the version of the library. You can use this to display a version of the underlying Salience Engine in use. Call lxaFreeString to release the memory.

Syntax

int lxaGetSalienceVersion(char **ppBuffer);

Parameters

ppBuffer Pointer to a char* buffer

Returns

Integer return code.

Example

     char* acVersion;
     lxaGetSalienceVersion(&acVersion);
     std::cout << acVersion << std::endl;
     lxaFreeString(acVersion);

<< lxaCloseSalienceSession | Back to Salience 6 C API Index | lxaGetDefaultSalienceLocation >>