Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion event/hloop.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ typedef enum {
// UNPACK_BY_LENGTH_FIELD
typedef enum {
ENCODE_BY_VARINT = 17, // 1 MSB + 7 bits
ENCODE_BY_LITTEL_ENDIAN = LITTLE_ENDIAN, // 1234
ENCODE_BY_LITTLE_ENDIAN = LITTLE_ENDIAN, // 1234
ENCODE_BY_BIG_ENDIAN = BIG_ENDIAN, // 4321
Comment on lines 499 to 501
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

This change removes the public enum constant ENCODE_BY_LITTEL_ENDIAN. The PR description mentions adding a backward-compatible alias, but there is no #define (and no enum alias) in this header, so this is currently a breaking API change for downstream users. Consider adding a compatibility alias (e.g., keep ENCODE_BY_LITTEL_ENDIAN as an additional enum value equal to ENCODE_BY_LITTLE_ENDIAN, or add a #define mapping) and optionally mark it deprecated in a comment.

Copilot uses AI. Check for mistakes.
ENCODE_BY_ASN1 = 80, // asn1 decode int
} unpack_coding_e;
Expand Down
Loading