Skip to content

Fix references to member functions#39

Merged
Wolfram70 merged 1 commit intomainfrom
bugfix/Wolfram70/member-func-cleanup
Jun 12, 2025
Merged

Fix references to member functions#39
Wolfram70 merged 1 commit intomainfrom
bugfix/Wolfram70/member-func-cleanup

Conversation

@Wolfram70
Copy link
Copy Markdown
Collaborator

This change fixes the non-standard method of referencing member functions for function pointer arguments in the codebase.

This change fixes the non-standard method of referencing member functions
for function pointer arguments in the codebase.
@Wolfram70 Wolfram70 requested review from bleasey and Copilot June 12, 2025 18:41
Copy link
Copy Markdown

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 standardizes the way member functions are passed to wrapper helpers by explicitly using pointers-to-member (&CPU::...) instead of unqualified function names.

  • Updated HL_Wrapper and R8_Wrapper calls in ins_prefix.cpp to use &CPU::PFX_*.
  • Updated A_Wrapper calls in ins.cpp to use &CPU::PFX_*.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
core/cpu/ins_prefix.cpp Prefixed all PFX_* references with &CPU:: in wrapper calls.
core/cpu/ins.cpp Prefixed all PFX_* references with &CPU:: in A_Wrapper.

Copy link
Copy Markdown
Collaborator

@bleasey bleasey left a comment

Choose a reason for hiding this comment

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

Noice

@Wolfram70 Wolfram70 merged commit 1cba7bf into main Jun 12, 2025
0 of 3 checks passed
@Wolfram70 Wolfram70 deleted the bugfix/Wolfram70/member-func-cleanup branch June 12, 2025 18:45
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.

3 participants