Commit a3797f29 authored by Jukka Pekka's avatar Jukka Pekka Committed by jpekka

Added cellref_set.

2002-08-17  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/position.[ch]: Added cellref_set.
parent 86ad3cc8
2002-08-17 Jukka Pekka <jiivonen@hutcs.cs.hut.fi>
* src/position.[ch]: Added cellref_set.
2002-08-17 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_probe) : clear the sax routines so that it is
......
2002-08-17 Jukka Pekka <jiivonen@hutcs.cs.hut.fi>
* src/position.[ch]: Added cellref_set.
2002-08-17 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_probe) : clear the sax routines so that it is
......
2002-08-17 Jukka Pekka <jiivonen@hutcs.cs.hut.fi>
* src/position.[ch]: Added cellref_set.
2002-08-17 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_probe) : clear the sax routines so that it is
......
......@@ -30,6 +30,18 @@
#include "value.h"
#include "ranges.h"
CellRef *
cellref_set (CellRef *ref, Sheet *sheet, int col, int row, gboolean relative)
{
ref->sheet = sheet;
ref->col = col;
ref->row = row;
ref->col_relative = ref->row_relative = relative;
return ref;
}
EvalPos *
eval_pos_init (EvalPos *ep, Sheet *sheet, CellPos const *pos)
{
......
......@@ -48,6 +48,8 @@ struct _RangeRef {
CellRef a, b;
};
CellRef *cellref_set (CellRef *ref, Sheet *sheet, int col, int row,
gboolean rel);
gboolean cellref_equal (CellRef const *a, CellRef const *b);
void cellref_make_abs (CellRef *dest,
CellRef const *src,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment