Skip to content

Conversation

@compnerd
Copy link
Owner

@compnerd compnerd commented Oct 7, 2025

This is a complex function-like macro that concatenates to bytes. The complexity stems in the extensive type-casting. Provide a Swift implementation for this macro.

This is a complex function-like macro that concatenates to bytes. The
complexity stems in the extensive type-casting. Provide a Swift
implementation for this macro.
@compnerd compnerd requested a review from Copilot October 7, 2025 05:02
Copy link

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 adds a Swift implementation of the Windows MAKEWORD macro to the WindowsCore module. The macro concatenates two bytes into a 16-bit word by placing the high byte in the upper 8 bits and the low byte in the lower 8 bits.

  • Adds MAKEWORD function that combines two BYTE parameters into a WORD

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@compnerd compnerd merged commit 7e22cf7 into main Oct 7, 2025
3 checks passed
@compnerd compnerd deleted the compnerd/word branch October 7, 2025 05:04
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.

1 participant