Ref.hx 320 B

123456789
  1. package cs;
  2. /**
  3. This type represents "ref" types for C# function parameters.
  4. It only has effect on function parameters, and conversion to/from the referenced type is automatic.
  5. Note: Using this type should be considered a bad practice unless overriding a native function is needed.
  6. **/
  7. typedef Ref<T> = T;