Branch: Tag:

1998-01-02

1998-01-02 01:06:47 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

lots of updates for NT, threads and new cpp

Rev: src/ChangeLog:1.128
Rev: src/Makefile.in:1.49
Rev: src/backend.c:1.20
Rev: src/configure.in:1.145
Rev: src/cpp.c:1.2
Rev: src/cpp.h:1.2
Rev: src/fd_control.c:1.11
Rev: src/fdlib.c:1.1
Rev: src/fdlib.h:1.1
Rev: src/fsort.c:1.3
Rev: src/fsort_template.h:1.2
Rev: src/lex.c:1.36
Rev: src/lex.h:1.6
Rev: src/main.c:1.29
Rev: src/modules/files/file.c:1.63
Rev: src/modules/files/socket.c:1.20
Rev: src/modules/readline/readlinemod.c:1.4
Rev: src/object.c:1.30
Rev: src/object.h:1.12
Rev: src/port.c:1.13
Rev: src/program.c:1.47
Rev: src/program.h:1.23
Rev: src/stuff.c:1.4
Rev: src/stuff.h:1.4
Rev: src/threads.c:1.48
Rev: src/threads.h:1.22
Rev: src/time_stuff.h:1.5

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.46 1997/11/08 01:34:43 hubbe Exp $"); + RCSID("$Id: program.c,v 1.47 1998/01/02 01:05:51 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1094:    return n;   }    + int simple_add_variable(char *name, +  char *type, +  INT32 flags) + { +  INT32 ret; +  struct pike_string *name_s, *type_s; +  name_s=make_shared_string(name); +  type_s=parse_type(type); +  +  ret=define_variable(name_s, type_s, flags); +  free_string(name_s); +  free_string(type_s); +  return ret; + } +  +    int add_constant(struct pike_string *name,    struct svalue *c,    INT32 flags)