NAME
restore_object - restore variables of an object
SYNOPSIS
int restore_object(string file)
CONFIG.H - MUDOS_RESTORE_OBJECT_FLAG
varargs int restore_object(string file, int dummy)
DESCRIPTION
Restore all global variables in an object that are not private or
static from a file. All variables which qualify, but were not
restored and do not contain object values, will be set to 0. 1 is
returned if the variables could be restored, 0 otherwise.
This_object() needs read permission to the file. If config.h
defines DEFAULT_OBJ_EXTENSION, the ".o" extension may be omitted.
ERRORS
An error will result if the restore file does not have the proper
format.
SEE ALSO
kfun/save_object