ailiaGetEnvironment method

int ailiaGetEnvironment(
  1. Pointer<Pointer<AILIAEnvironment>> env,
  2. int env_idx,
  3. int version
)

Gets the list of computational environments.

Parameters:

  • env: The storage location of the computational environment information (Valid until the library is released)
  • env_idx: The index of the computational environment information (0 to ailiaGetEnvironmentCount() -1)
  • version: AILIA_ENVIRONMENT_VERSION

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaGetEnvironment(
  ffi.Pointer<ffi.Pointer<AILIAEnvironment>> env,
  int env_idx,
  int version,
) {
  return _ailiaGetEnvironment(
    env,
    env_idx,
    version,
  );
}