Sha256: 7d330c763d1c680eec2682b71f4b42bd1b6ded50f728f27b402aed8bb34763f3
Contents?: true
Size: 429 Bytes
Versions: 7
Compression:
Stored size: 429 Bytes
Contents
#ifndef __ZIPRUBY_FILE_H__ #define __ZIPRUBY_FILE_H__ #include "zip.h" #include "ruby.h" struct zipruby_file { VALUE v_archive; struct zip *archive; struct zip_file *file; VALUE v_sb; struct zip_stat *sb; }; void Init_zipruby_file(); #define Check_File(p) do { \ if ((p)->archive == NULL || (p)->file == NULL || (p)->sb == NULL) { \ rb_raise(rb_eRuntimeError, "invalid Zip::File"); \ } \ } while(0) #endif
Version data entries
7 entries across 7 versions & 1 rubygems