createDoubleArray static method

IPropertyValue createDoubleArray(
  1. int valueSize,
  2. Pointer<Double> value
)

Implementation

static IPropertyValue createDoubleArray(
    int valueSize, Pointer<Double> value) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);
  final object = IPropertyValueStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.createDoubleArray(valueSize, value);
  } finally {
    object.release();
  }
}