save_object

MudOSa4DGD/doc/kfun/save_object · 557 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	save_object - save variables of an object

SYNOPSIS
	int save_object(string file)

CONFIG.H - MUDOS_SAVE_OBJECT_FLAG
	varargs int save_object(string file, int dummy)


DESCRIPTION
	Save all global variables in an object that are not private or static
	to a file.  Only non-zero and non-object values are actually saved.

	This_object() needs write permission to the file. If config.h
	defines DEFAULT_OBJ_EXTENSION, the ".o" extension may be omitted.

ERRORS
	An error will result if the save file could not be created.

SEE ALSO
	kfun/restore_object

Site Stats

Snippets: 1791
Codebases: 571