Class: XlsxWriter::SharedStringsTable

Inherits:
Object
  • Object
show all
Defined in:
ext/xlsxwriter/shared_strings.c

Instance Method Summary collapse

Instance Method Details

#string_countObject



42
43
44
45
46
47
# File 'ext/xlsxwriter/shared_strings.c', line 42

VALUE
sst_string_count_get_(VALUE self) {
  struct sst *sst_ptr;
  Data_Get_Struct(self, struct sst, sst_ptr);
  return INT2NUM(sst_ptr->sst->string_count);
}

#string_count=(val) ⇒ Object



49
50
51
52
53
54
55
56
# File 'ext/xlsxwriter/shared_strings.c', line 49

VALUE
sst_string_count_set_(VALUE self, VALUE val) {
  struct sst *sst_ptr;
  Data_Get_Struct(self, struct sst, sst_ptr);

  sst_ptr->sst->string_count = NUM2INT(val);
  return val;
}