Sha256: bcdd42882f9a31c5b281fc773daf84c5afd7474dab90d2734820e76e0352ef52
Contents?: true
Size: 431 Bytes
Versions: 2
Compression:
Stored size: 431 Bytes
Contents
#ifndef __ZIPRUBY_ARCHIVE_H__ #define __ZIPRUBY_ARCHIVE_H__ #include "zip.h" #include "ruby.h" struct zipruby_archive { struct zip *archive; VALUE path; int flags; char *tmpfilnam; VALUE buffer; }; void Init_zipruby_archive(); #define Check_Archive(p) do { \ if ((p)->archive == NULL || NIL_P((p)->path)) { \ rb_raise(rb_eRuntimeError, "invalid Zip::Archive"); \ } \ } while(0) #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zipruby-0.2.8 | ext/zipruby_archive.h |
zipruby-0.2.9 | ext/zipruby_archive.h |