Sha256: 8c74968a8a235301cb1f45647be3c1e19501992a48e4c0cb123a776d518514cb

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

#include <ruby.h>

#ifndef XLSXWRITER_H
#define XLSXWRITER_H

extern VALUE mXlsxWriter;
extern VALUE eXlsxWriterError;

static inline void handle_lxw_error(lxw_error err) {
  if (err) {
    rb_exc_raise(rb_funcall(eXlsxWriterError, rb_intern("new"), 2, rb_str_new_cstr(lxw_strerror(err)), INT2NUM(err)));
  }
}

#endif /* XLSXWRITER_H */

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xlsxwriter-0.2.3.pre.1 ext/xlsxwriter/xlsxwriter_ext.h
xlsxwriter-0.2.2 ext/xlsxwriter/xlsxwriter_ext.h
xlsxwriter-0.2.1.pre.2 ext/xlsxwriter/xlsxwriter_ext.h
xlsxwriter-0.2.1.pre ext/xlsxwriter/xlsxwriter_ext.h
xlsxwriter-0.2.0 ext/xlsxwriter/xlsxwriter_ext.h