mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-27 03:56:06 +00:00
Change state manager interface to match my interface. Next up is inlining those function pointers.
This commit is contained in:
parent
abb3a45a9a
commit
1fdc8f1144
8
rewind.h
8
rewind.h
@ -21,11 +21,13 @@
|
||||
|
||||
typedef struct state_manager state_manager_t;
|
||||
|
||||
// Always pass in at least 4-byte aligned data and sizes!
|
||||
// Always pass in at least 2-byte aligned data! Size can be anything.
|
||||
|
||||
state_manager_t *state_manager_new(size_t state_size, size_t buffer_size, void *init_buffer);
|
||||
state_manager_t *state_manager_new(size_t state_size, size_t buffer_size);
|
||||
void state_manager_free(state_manager_t *state);
|
||||
bool state_manager_pop(state_manager_t *state, void **data);
|
||||
bool state_manager_push(state_manager_t *state, const void *data);
|
||||
void *state_manager_push_where(state_manager_t *state);
|
||||
bool state_manager_push(state_manager_t *state);
|
||||
void state_manager_capacity(state_manager_t *state, unsigned int * entries, size_t * bytes, bool * full);
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user