pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
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.
105
2000/08/
24
04
:
04
:
42
hubbe
Exp $
+
* $Id: program.h,v 1.
106
2000/08/
28
21
:
27
:
10
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" #define STRUCT #include "compilation.h" #define EXTERN #include "compilation.h"
-
+
struct program_state;
+
/* Needed to support dynamic loading on NT */ PMOD_PROTO extern struct program_state * Pike_compiler; #ifdef PIKE_DEBUG #define PROGRAM_LINE_ARGS int line, char *file #else #define PROGRAM_LINE_ARGS void #endif
pike.git/src/program.h:91:
#ifndef STRUCT_NODE_S_DECLARED #define STRUCT_NODE_S_DECLARED struct node_s; #endif #ifndef STRUCT_OBJECT_DECLARED #define STRUCT_OBJECT_DECLARED struct object; #endif
-
struct program_state;
-
+
/* I need: * a) one type that can point to a callable function. * (C function, or object->fun) * This can for instance be an svalue. * * b) one type that once the object/program is known can point * to the C/PIKE function body. * * c) A number of flags to send to 'add_simul_efun' to specify side effects * and such.