origin

MudOSa4DGD/doc/efun/origin · 436 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	origin - determine origin of last call

SYNOPSIS
	int origin()


DESCRIPTION
	Returns an integer specifying how the current  function  was
	called.  Current values are:

	1     Driver (heart_beats, etc)
	2     Local function call
	4     call_other()
	8     From simul_efun object
	16    call_out()

	Config.h must define MUDOS_ORIGIN for this function to exist.	

SEE ALSO
	efun/previous_function, efun/previous_program, origin.h

Site Stats

Snippets: 1791
Codebases: 571