Sha256: 496db4c6edc66dd30f30de956a05e9fee0d608a7f07193e011f4f5eac99efe7d

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

#include <ruby.h>

#ifndef XLSXWRITER_H
#define XLSXWRITER_H

extern VALUE mXlsxWriter;
extern VALUE eXlsxWriterError;

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

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.0.pre.2 ext/xlsxwriter/xlsxwriter_ext.h