pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: program.h,v 1.
265
2009/
06
/
22
12
:
08
:
51
grubba Exp $
+
|| $Id: program.h,v 1.
266
2009/
08
/
17
11
:
41
:
33
grubba Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include "global.h" #include "pike_macros.h" #include "pike_error.h" #include "svalue.h" #include "dmalloc.h"
pike.git/src/program.h:703:
#define REPORT_ERROR 2 /* Compilation error. */ #define REPORT_FATAL 3 /* Unrecoverable error. */ #define COMPILER_IN_CATCH 1 #define ADD_STORAGE(X) low_add_storage(sizeof(X), ALIGNOF(X),0) #define STORAGE_NEEDED(X) ((X)->storage_needed - (X)->inherits[0].storage_offset)
-
#define FOO(NUMTYPE,TYPE,ARGTYPE,NAME) void PIKE_CONCAT(add_to_,NAME(ARGTYPE ARG));
+
#define FOO(NUMTYPE,TYPE,ARGTYPE,NAME)
\
+
void PIKE_CONCAT(add_to_,NAME
)
(ARGTYPE ARG)
;
+
#define BAR(NUMTYPE,TYPE,ARGTYPE,NAME
)
\
+
void PIKE_CONCAT(low_add_many_to_,NAME)(struct program_state *state, ARGTYPE *ARG, NUMTYPE cnt)
;
\
+
void PIKE_CONCAT(add_to_,NAME)(ARGTYPE ARG);
#include "program_areas.h" typedef int supporter_callback (void *, int); struct Supporter { #ifdef PIKE_DEBUG int magic; #endif