Skip to content

Conversation

@jac3km4
Copy link
Contributor

@jac3km4 jac3km4 commented Jul 27, 2025

Copilot AI review requested due to automatic review settings July 27, 2025 12:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds new functionality to the Scripts API for configuring reference behavior in redscript compilation. It introduces methods to register types as @neverRef (types that shouldn't be stored behind references) and @mixedRef (types that can be both referenced and used as values).

  • Added RegisterNeverRefType function to mark types that shouldn't be stored behind references
  • Added RegisterMixedRefType function to mark types that can be used both as references and values
  • Updated documentation to remove the example code and clarify the purpose of each function

@jac3km4 jac3km4 force-pushed the feat/never-and-mixed-ref branch from 8768087 to 7ee8ac6 Compare July 27, 2025 12:30
@psiberx psiberx merged commit 7fb2797 into wopss:master Jul 27, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants