-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flesh out storage properties dimensions init and destroy (#38)
* Make storage_properties_destroy void. Make sure to destroy all the dimensions in the storage array. * Copy acquisition dimensions in storage_properties_copy. * Document storage_properties_dimensions_s::init. Return int from this function rather than void. * Protect `max` definition with an #ifndef guard in acquire.c. * Initialize StorageDimension array in storage_properties_init(). * Fix segfault in storage_properties_dimensions_destroy unit test. * Update acquire-video-runtime/src/acquire.c Co-authored-by: Nathan Clack <[email protected]> * Simplify the interface around initializing StorageDimension structs. * Respond to PR comments --------- Co-authored-by: Nathan Clack <[email protected]>
- Loading branch information
Showing
8 changed files
with
673 additions
and
634 deletions.
There are no files selected for viewing
1,199 changes: 623 additions & 576 deletions
1,199
acquire-core-libs/src/acquire-device-properties/device/props/storage.c
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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