Branch: Tag:

2019-02-06

2019-02-06 22:25:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike.BacktraceFrame: Added getters for filename and line.

2916:    }    }    +  PIKEFUN string `filename() +  { +  if (!THIS->lineno) { +  fill_in_file_and_line(); +  } +  if (THIS->filename) { +  ref_push_string(THIS->filename); +  return; +  } +  push_undefined(); +  } +  +  PIKEFUN string `line() +  { +  if (!THIS->lineno) { +  fill_in_file_and_line(); +  } +  push_int(THIS->lineno); +  } +     /*! @decl string _sprintf(int c, mapping|void opts)    */    PIKEFUN string _sprintf(int c, mapping|void opts)