refactor: make room for loading and outputting pre-compiled files

This commit is contained in:
Brett Broadhurst 2026-04-13 18:40:04 -06:00
parent 3afbbb6ec2
commit 96866ba9ae
Failed to generate hash of commit
11 changed files with 537 additions and 433 deletions

View file

@ -71,24 +71,17 @@ enum ink_flags {
};
/**
* @brief Open a story context.
* Load an Ink story with extended options.
*
* @returns a new story context
* @returns an opaque pointer on success or null on failure.
*/
INK_API struct ink_story *ink_open(void);
INK_API struct ink_story *ink_load_story_options(const struct ink_load_options *options);
/**
* Close a story context.
*/
INK_API void ink_close(struct ink_story *story);
/**
* Load an Ink story with extended options.
*
* @returns a non-zero value on error.
*/
INK_API int ink_load_story_options(struct ink_story *story,
const struct ink_load_options *options);
/**
* Determine if the story can continue.