bfuns.c

lpmoo-1.2/mudlib/std/bfuns.c · 527 B

From the archive lpmoo-1.2.tar.gz

Download the archive   « Back to the archive contents

/*
 * NAME:	bfuns.c
 * DESCRIPTION:	builtin MOO functions
 */

# define DEBUG  0

inherit "/std/core";
inherit "/std/data";
inherit "/std/math";

# include <objects.h>
# include <moo/verb.h>
# include <moo/perms.h>
# include <moo/config.h>
# include <dgd/status.h>
# include <dgd/limits.h>

# define ASSERT(arg, type)	if (! type##P(arg)) return RAISE(E_TYPE)

# define GET_VALID_OBJ(x, y)  \
  if (! (x = MOOOBJ(y))) return RAISE(E_INVARG)

# include "bfuns/moofuns.c"
# include "bfuns/dgdfuns.c"
# include "bfuns/extrafuns.c"

Site Stats

Snippets: 1791
Codebases: 571