pike.git / src / cpp.cmod

version» Context lines:

pike.git/src/cpp.cmod:3683:    /* NB: Make sure the buffer isn't freed twice. */    this->buf.s = NULL;    }    stack_pop_n_elems_keep_top((Pike_sp - save_sp) - 1);   }      /*! @module Builtin    */      /*! @decl mapping(string:mixed) _take_over_initial_predefines() +  *! +  *! Returns a mapping containing the set of predefined macros. +  *! These are typically the macros defined via the @tt{-D@} option +  *! when starting Pike. +  *! +  *! This function is typically called by the @[MasterObject] at +  *! initialization, and may only be called once. After it has been called, +  *! @[cpp()] will start calling @[CompilationHandler->get_predefines()] to +  *! retrieve the set of predefined macros. +  *! +  *! @seealso +  *! [cpp()], @[CompilationHandler->get_predefines()]    */   void f__take_over_initial_predefines (INT32 args)   {    pop_n_elems (args);    if (use_initial_predefs) {    struct pike_predef_s *tmp;    push_mapping (initial_predefs_mapping());    use_initial_predefs = 0;       while((tmp=first_predef))