Method
HsCoreload_state
Declaration [src]
void
hs_core_load_state (
HsCore* self,
const char* path,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Loads a save state from path.
This method completes asynchronously. Use hs_core_load_state_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
path-
Type:
const char*Path to the save state file.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cancellable-
Type:
GCancellableAn optional cancellable object.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe async callback to call when the load is finished.
The argument can be NULL. user_data-
Type:
gpointerThe data to pass to callback function.
The argument can be NULL.The data is owned by the caller of the method.