Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak(codegen): set VAR_STRING as an unsupported type for OAL #2851

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AvarianKnight
Copy link
Contributor

@AvarianKnight AvarianKnight commented Oct 8, 2024

Goal of this PR

Allow VAR_STRING to be used on RDR when using OAL

How is this PR achieving the goal

Marks it as 'unsupported' so it wont be generated as a supported native for OAL

This PR applies to the following area(s)

RedM

Successfully tested on

This was only tested that it doesn't add to the map in NativesRDR.h

Game builds: ..

Platforms: Windows, Linux

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

Fixes the issue @outsider31000 reported

- this makes the native usable in OAL, even if it will use a slower path.
@github-actions github-actions bot added RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action labels Oct 8, 2024
@outsider31000
Copy link
Contributor

outsider31000 commented Oct 8, 2024

didnt know that list existed. thanks for this
does this mean VarString will still work right? just wont be considered by the OAL?

@AvarianKnight
Copy link
Contributor Author

didnt know that list existed. does this mean VarString will still work right? just wont be considered by the OAL?

Yes, it'll fallback to the normal NativeInvoke.

@outsider31000
Copy link
Contributor

yes thanks, I read the description wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants