-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to using a
#[binja(...)]
attribute instead of naked decorators
The attribute supports three properties: - Specifying pointer width is done for the whole struct/union now instead of each field using a `#[binja(pointer_width = <int>)]` property. - Specifying named fields is done either with `#[binja(name = "...")]`, or `#[binja(named)]` which will use the name of the Rust type as a default value.
- Loading branch information
1 parent
27bd9aa
commit 699b92f
Showing
1 changed file
with
153 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters