pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: program.h,v 1.82 2000/03/13 19:57:27 grubba Exp $ +  * $Id: program.h,v 1.83 2000/03/17 05:13:17 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_types.h"   #include "pike_macros.h"   #include "svalue.h"   #include "time_stuff.h"
pike.git/src/program.h:428:    struct pike_string *constant_name);   struct array *program_indices(struct program *p);   struct array *program_values(struct program *p);   void program_index_no_free(struct svalue *to, struct program *p,    struct svalue *ind);   int get_small_number(char **q);   void start_line_numbering(void);   void store_linenumber(INT32 current_line, struct pike_string *current_file);   char *get_line(unsigned char *pc,struct program *prog,INT32 *linep);   void my_yyerror(char *fmt,...) ATTRIBUTE((format(printf,1,2))); - struct program *compile(struct pike_string *prog, struct object *handler); + struct program *compile(struct pike_string *prog, +  struct object *handler);   int pike_add_function(char *name,void (*cfun)(INT32),char *type,INT16 flags);   int quick_add_function(char *name,    int name_length,    void (*cfun)(INT32),    char *type,    int type_length,    INT16 flags,    int opt_flags);   void check_all_programs(void);   void init_program(void);
pike.git/src/program.h:460:   struct program *low_program_from_function(struct program *p,    INT32 i);   struct program *program_from_function(struct svalue *f);   struct program *program_from_svalue(struct svalue *s);   struct find_child_cache_s;   int find_child(struct program *parent, struct program *child);   void yywarning(char *fmt, ...) ATTRIBUTE((format(printf,1,2)));   struct implements_cache_s;   int implements(struct program *a, struct program *b);   int is_compatible(struct program *a, struct program *b); - int yyexplain_not_implements(struct program *a, struct program *b); + int yyexplain_not_implements(struct program *a, struct program *b, int flags);   /* Prototypes end here */      #define ADD_FUNCTION(NAME,FUNC,TYPE,FLAGS) \    quick_add_function(NAME,CONSTANT_STRLEN(NAME),FUNC,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,0)      #define ADD_PROTOTYPE(NAME,TYPE,FLAGS) \    quick_add_function(NAME,CONSTANT_STRLEN(NAME),0,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,0)      #define ADD_INT_CONSTANT(NAME,CONST,FLAGS) \    quick_add_integer_constant(NAME,CONSTANT_STRLEN(NAME),CONST,FLAGS)