-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We now support auto-selected (smart) buffers. When the user fetches an interface containing methods with smart-buffers, it will fetch the Pointer Buffer Size. Depending on whether the smart buffer fits the pointer buffer or not, it will be passed as either a Pointer or a Buffer. In order to implement this, a simple dispatch for Control messages was implemented. The QueryPointerBufferSize function was implemented as well. The pointer buffer size is fetched and cached on interface creation. Only interfaces actually containing smart buffers will fetch this information, to avoid doing a bunch of useless IPC requests.
- Loading branch information
Showing
4 changed files
with
181 additions
and
45 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
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