Skip to content

Conversation

@JBenda
Copy link
Owner

@JBenda JBenda commented Jul 12, 2022

Add fallback for external functions

based on:
https://github.com/inkle/ink/blob/master/Documentation/RunningYourInk.md#fallbacks-for-external-functions

It is now possible to implement a dummy/error function for each external
functions. It must have been the same name and same number of arguments
and will be executed if the external function was not bind when needed.
IF the external functions will get bind later, then it will be called
the next time.

Introduces new flag: FALLBACK_FUNCTION to add a new execution
dimension
Introduce new value type: ex_fn_not_found to signal failed external

JBenda added 8 commits August 16, 2022 12:57
based on:
https://github.com/inkle/ink/blob/master/Documentation/RunningYourInk.md#fallbacks-for-external-functions

it is no possible to implement a dummey/error function for each external
functions. It must have ben the same name and same amount of arguments
and will be executed if the external functio was not bind when needed.
IF the external functions will get bind later, then it will be called
the next time.

Introduces new flag: "FALLBACK_FUNCTION" to add a new execution
dimension
Introduce new value type: `ex_fn_not_found` to signal failed excetrnal
executio
@JBenda
Copy link
Owner Author

JBenda commented Sep 24, 2023

Was merged with #49

@JBenda JBenda closed this Sep 24, 2023
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