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.
80
2000/
02
/
15
23
:
41
:
03
grubba
Exp $
+
* $Id: program.h,v 1.
81
2000/
03
/
07
08
:
13
:
18
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:116:
void (*c_fun)(INT32); INT32 offset; }; #define IDENTIFIER_PIKE_FUNCTION 1 #define IDENTIFIER_C_FUNCTION 2 #define IDENTIFIER_FUNCTION 3 #define IDENTIFIER_CONSTANT 4 #define IDENTIFIER_VARARGS 8 #define IDENTIFIER_PROTOTYPED 16
+
#define IDENTIFIER_SCOPED 32 /* This is used for local functions only */
#define IDENTIFIER_IS_FUNCTION(X) ((X) & IDENTIFIER_FUNCTION) #define IDENTIFIER_IS_PIKE_FUNCTION(X) ((X) & IDENTIFIER_PIKE_FUNCTION) #define IDENTIFIER_IS_CONSTANT(X) ((X) & IDENTIFIER_CONSTANT) #define IDENTIFIER_IS_VARIABLE(X) (!((X) & (IDENTIFIER_FUNCTION | IDENTIFIER_CONSTANT)))
-
+
#define IDENTIFIER_MASK 63
+
struct identifier { struct pike_string *name; struct pike_string *type; unsigned INT16 identifier_flags; /* IDENTIFIER_??? */ unsigned INT16 run_time_type; #ifdef PROFILING unsigned INT32 num_calls; unsigned INT32 total_time; unsigned INT32 self_time;