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.137 2001/07/12 23:15:41 hubbe Exp $ +  * $Id: program.h,v 1.138 2001/07/13 11:26:39 grubba 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:379:   void ins_int(INT32 i, void (*func)(char tmp));   void ins_short(INT16 i, void (*func)(char tmp));   void use_module(struct svalue *s);   void unuse_modules(INT32 howmany);   struct node_s *find_module_identifier(struct pike_string *ident,    int see_inherit);   struct program *parent_compilation(int level);   struct program *id_to_program(INT32 id);   void optimize_program(struct program *p);   int program_function_index_compare(const void *a,const void *b); - char *find_program_name(struct program *p, INT32 *line); + struct pike_string *find_program_name(struct program *p, INT32 *line);   void fixate_program(void);   struct program *low_allocate_program(void);   void low_start_new_program(struct program *p,    struct pike_string *name,    int flags,    int *idp);   PMOD_EXPORT void debug_start_new_program(PROGRAM_LINE_ARGS);   PMOD_EXPORT void really_free_program(struct program *p);   void dump_program_desc(struct program *p);   int sizeof_variable(int run_time_type);
pike.git/src/program.h:504:   int store_constant(struct svalue *foo,    int equal,    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); - PMOD_EXPORT char *get_program_line(struct program *prog,INT32 *linep); - PMOD_EXPORT char *get_line(PIKE_OPCODE_T *pc, struct program *prog, + PMOD_EXPORT struct pike_string *get_program_line(struct program *prog,    INT32 *linep); -  + PMOD_EXPORT struct pike_string *get_line(PIKE_OPCODE_T *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,    int major,    int minor,    struct program *target,    struct object *placeholder);   PMOD_EXPORT int pike_add_function2(char *name, void (*cfun)(INT32),    char *type, unsigned INT8 flags,    unsigned INT16 opt_flags);