Skip to content

Conversation

Tetralux
Copy link
Contributor

@Tetralux Tetralux commented Dec 8, 2024

Also rephrase following sentence about slices, dynarrays and maps not being special types.

@Mecso2
Copy link

Mecso2 commented Aug 21, 2025

you could also mention how multiple return values work:
the last return value is returned in the traditional way
for the rest the the caller creates space on its stack and passes a pointer as an extra argument
there's one pointer for each return value (except for the last)
these extra arguments come right before the context pointer

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.

2 participants