Skip to content

Add a StatusCode() macro for Cripts convenience mode #12170

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

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

Conversation

zwoop
Copy link
Contributor

@zwoop zwoop commented Apr 7, 2025

No description provided.

@zwoop zwoop added the Cripts label Apr 7, 2025
@zwoop zwoop added this to the 10.2.0 milestone Apr 7, 2025
@zwoop zwoop requested a review from mlibbey April 7, 2025 23:14
@zwoop zwoop self-assigned this Apr 7, 2025
@zwoop zwoop added this to ATS v10.1.x Apr 7, 2025
@@ -118,6 +118,7 @@ Macro Traditional API equivalent
=========================== ====================================================================
``Regex(name, ...)`` ``static cripts::Matcher::PCRE name(...)``
``ACL(name, ...)`` ``static cripts::Matcher::Range::IP name(...)``
``StatusCode(code, ...)`` ``cripts::Error::Status::Set(code, ...);
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing closing backtick pair?

@bneradt bneradt self-requested a review April 14, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants