GScalar constructor

GScalar(
  1. double value
)

Implementation

factory GScalar(double value) {
  final p = calloc<cgapi.GScalar>();
  cvRun(() => cgapi.gapi_GScalar_New_FromDouble(value, p));
  return GScalar.fromPointer(p);
}