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

Implementing cleo_arg_count opcode #125

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

MiranDMC
Copy link
Collaborator

No description provided.

@MiranDMC MiranDMC marked this pull request as ready for review April 17, 2024 00:19
@MiranDMC MiranDMC requested a review from x87 April 17, 2024 00:19
{
SHOW_ERROR("Quering argument count without preceding CLEO function call in script %s\nScript suspended.", cs->GetInfoStr().c_str());
return thread->Suspend();
}
Copy link

Choose a reason for hiding this comment

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

At some point this opcode might be extended to return number of arguments passed to current script with 004f, 0913, 0a92, etc.

But good for now

@MiranDMC MiranDMC merged commit c36999c into master Apr 17, 2024
2 checks passed
@MiranDMC MiranDMC deleted the get_arguments_count_opcode branch April 17, 2024 00:47
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