forked from TooTallNate/ref-struct
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes TooTallNate#2. Closes TooTallNate#21. Squashed commit of the following: commit 093212b Author: Lee, SungUk <[email protected]> Date: Wed Aug 3 10:33:09 2016 +0900 Change Struct's second argument type to object Applied review comments; - Constructor arugments type change boolean to object - Assign of `StructType.isPacked` use ternary operator - Remove `usePack` method - `sizeof` and `alignof` calculation move to C++ code commit a1e8f66 Author: Lee, SungUk <[email protected]> Date: Tue Jan 5 15:11:11 2016 +0900 Fix broken unittests of appveyor commit d5415f3 Author: Lee, SungUk <[email protected]> Date: Tue Jan 5 13:15:27 2016 +0900 Resolve TooTallNate#2 Implement `usePack` - Apply [Alexander Seliverstov's method][1] - Now, `Struct` use 2nd arguments - `usePack()` switch padding mode [1]: https://groups.google.com/d/msg/nodejs/2wKCYmGPT5E/DLi4Pjt7j_4J
- Loading branch information
1 parent
c595fb9
commit eb4550f
Showing
3 changed files
with
42 additions
and
3 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
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
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