JSCFunctionListEntry.defPropInt64 constructor

JSCFunctionListEntry.defPropInt64(
  1. JSContext ctx,
  2. String name,
  3. int val,
  4. JSProp propFlags, {
  5. bool autoDispose = true,
})

Implementation

factory JSCFunctionListEntry.defPropInt64(
  JSContext ctx,
  String name,
  int val,
  JSProp propFlags, {
  bool autoDispose = true,
}) {
  return JSCFunctionListEntry._(
    ctx,
    name: name,
    propFlags: propFlags,
    defType: JSDef.PROP_INT64,
    magic: 0,
    union: JSCFuntionListEntryUnion(i64: val),
    autoDispose: autoDispose,
  );
}