Branch: Tag:

2018-07-27

2018-07-27 14:00:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Fix implementation of get_predefines().

5260:    */    PIKEFUN mapping(string:string|function|object) get_predefines()    { + #if 0    apply_external(1, f_get_predefines_fun_num, args); -  + #else +  struct CPP_struct *this = THIS; +  if (use_initial_predefs) { +  push_mapping(initial_predefs_mapping()); +  } else { +  low_unsafe_apply_handler("get_predefines", +  this->handler, this->compat_handler, 0);    } -  + #endif +  }       /*! @decl void init_pike_cpp()    *!