b_str.c

untermud/U/b_str.c · 280 B

From the archive untermud-2.4-r22.tar.gz

Download the archive   « Back to the archive contents

#include    "config.h"
#include    "mud.h"
#include    "u.h"
#include    "y.tab.h"

/* convert a something to a STR */
int ub_str (char *who, char *aswho, int ac, Nod * av[], Nod * retnode)
{
  retnode->rv.cv = eval_caststr (av[0]);
  retnode->rv.t = STR;
  return (UERR_NONE);
}

Site Stats

Snippets: 1791
Codebases: 571