Skip to content

rc_runtime_progress_size

Jamiras edited this page Sep 7, 2020 · 1 revision

Determines how much memory is required to call rc_runtime_serialize_progress.

Syntax

int rc_runtime_progress_size(
    const rc_runtime_t* runtime,
    lua_State* L
);

Parameters

runtime

Pointer to the runtime state object that will have its progress captured.

L (NOT USED)

A pointer to a lua_State that contains the LUA functions needed by the runtime. May be NULL if the runtime does not use LUA functions.

Return value

If the function succeeds, the return value is a positive number indicating how many bytes are required to capture the state of the runtime. Otherwise, a negative value is returned that can be converted to a string using rc_error_str.

Remarks

Minimum version: 9.0.0

See also

rc_runtime_serialize_progress

rc_runtime_deserialize_progress

rcheevos

rc_client

Integration guide

client

user

game

processing

rc_client_raintegration

Integration guide

rc_runtime

rhash

rapi

common

user

runtime

info

Clone this wiki locally