Skip to content

Add task handle function#105

Closed
mephillips-durham wants to merge 6 commits intoc-jo:mainfrom
mephillips-durham:add_task_handle_function
Closed

Add task handle function#105
mephillips-durham wants to merge 6 commits intoc-jo:mainfrom
mephillips-durham:add_task_handle_function

Conversation

@mephillips-durham
Copy link
Contributor

Added because I wanted to use the SWI URI_Dispatch, which requires the task handle as one of the parameters, in
order that the module can then update us on progress. Another approach would be for the initialise() function to store the wimp_ver, task_handle and sprite_area values returned from Toolbox_Initialise and make them available as properties of the Application, say.

The task handle needs to be signed to be consistent with elsewhere in the code.

Make send() and reply() return the task handle returned by _send.
In _send(), take the size first from the size parameter if given,
  but allow it to come from self.size if it has been set, before
  falling back on the size of the message type. This allows message
  classes to offer setter functions for complex message entries
  which set the size of the message automatically.
Fix typos in comments.
@mephillips-durham
Copy link
Contributor Author

Sorry - mistake when reapplying unsigned/signed fix.

@mephillips-durham mephillips-durham deleted the add_task_handle_function branch February 10, 2026 22:35
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