Branch: Tag:

1997-01-18

1997-01-18 21:34:34 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

version(), _refs() and replace_master() added

Rev: src/builtin_functions.c:1.20
Rev: src/main.c:1.17
Rev: src/object.c:1.10
Rev: src/version.c:1.1
Rev: src/version.h:1.1

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: main.c,v 1.16 1997/01/18 17:47:54 grubba Exp $"); + RCSID("$Id: main.c,v 1.17 1997/01/18 21:34:33 hubbe Exp $");   #include "types.h"   #include "backend.h"   #include "module.h"
31:   #include <sys/resource.h>   #endif    - #define VERSION "Pike v0.4pl2" +       char *master_file;   
248:    f_exit(1);   }    - /* string __version() */ - static void f___version(INT32 args) - { -  pop_n_elems(args); -  push_text(VERSION); - } +       void init_main_efuns()   {
265:    init_signals();    th_init();    init_dynamic_load(); -  add_efun("__version", f___version, "function(:string)", 0); +    }      void init_main_programs()