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

chore: update command interface for bitops, bloom, zset families #4235

Merged
merged 1 commit into from
Dec 1, 2024
Merged

Conversation

romange
Copy link
Collaborator

@romange romange commented Dec 1, 2024

No description provided.

@romange romange requested a review from BorysTheDev December 1, 2024 19:52
Comment on lines +42 to +48
void BitPos(CmdArgList args, const CommandContext& cmd_cntx);
void BitCount(CmdArgList args, const CommandContext& cmd_cntx);
void BitField(CmdArgList args, const CommandContext& cmd_cntx);
void BitFieldRo(CmdArgList args, const CommandContext& cmd_cntx);
void BitOp(CmdArgList args, const CommandContext& cmd_cntx);
void GetBit(CmdArgList args, const CommandContext& cmd_cntx);
void SetBit(CmdArgList args, const CommandContext& cmd_cntx);
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think that const for CommandContext is ok, because we update it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we never change any of the fields of the struct, otherwise it would not compile. but I understand what you are saying.

@romange romange merged commit c857ff9 into main Dec 1, 2024
9 checks passed
@romange romange deleted the Pr1 branch December 1, 2024 22:25
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