refactor: make room for loading and outputting pre-compiled files
This commit is contained in:
parent
3afbbb6ec2
commit
96866ba9ae
11 changed files with 537 additions and 433 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue