pike.git / src / cpp.cmod

version» Context lines:

pike.git/src/cpp.cmod:343:    SET_INDEX_CHARP(s.s->str, i, s.s->size_shift, ' ');       keep_new_lines:    pop_n_elems(args);    push_string(finish_string_builder(&s));    }   }   /*! @endclass define    */    + PIKEFUN string evaluate_define(string def, string arguments) + { +  APPLY_MASTER("evaluate_define", args); + } +    PIKEFUN mapping(string:string|function|object) get_predefines()   {    if (use_initial_predefs) {    push_mapping(initial_predefs_mapping());    } else {    APPLY_MASTER("get_predefines", 0);    }   }      /*! @class CPP
pike.git/src/cpp.cmod:943:    *! This function is used to evaluate callback-style macros    *! as defined via @[define_multiple_macros()].    *!    *! @note    *! This API is likely to be removed in a future version of    *! Pike, where macro functions would be called directly by    *! the preprocessor.    */    PIKEFUN string evaluate_define(string def, string|void arguments)    { -  struct CPP_struct *this = THIS; -  low_unsafe_apply_handler("evaluate_define", -  this->handler, this->compat_handler, args); +  apply_external(1, f_evaluate_define_fun_num, args);    }      /* #if macros and functions. */      /*! @namespace cpp::    *!    *! Pike has a builtin C-style preprocessor. It works similar to the    *! ANSI-C preprocessor but has a few extra features. These and the    *! default set of preprocessor macros are described here.    *!