Branch: Tag:

2009-08-17

2009-08-17 11:41:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added low_add_many_to_program().

Rev: src/program.c:1.766
Rev: src/program.h:1.266

2:   || 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
710:      #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);