extlzham 0.0.1.PROTOTYPE3-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +27 -0
  3. data/README.md +74 -0
  4. data/Rakefile +152 -0
  5. data/contrib/lzham/LICENSE +22 -0
  6. data/contrib/lzham/README.md +209 -0
  7. data/contrib/lzham/include/lzham.h +781 -0
  8. data/contrib/lzham/lzhamcomp/lzham_comp.h +38 -0
  9. data/contrib/lzham/lzhamcomp/lzham_lzbase.cpp +244 -0
  10. data/contrib/lzham/lzhamcomp/lzham_lzbase.h +45 -0
  11. data/contrib/lzham/lzhamcomp/lzham_lzcomp.cpp +608 -0
  12. data/contrib/lzham/lzhamcomp/lzham_lzcomp_internal.cpp +1966 -0
  13. data/contrib/lzham/lzhamcomp/lzham_lzcomp_internal.h +472 -0
  14. data/contrib/lzham/lzhamcomp/lzham_lzcomp_state.cpp +1413 -0
  15. data/contrib/lzham/lzhamcomp/lzham_match_accel.cpp +562 -0
  16. data/contrib/lzham/lzhamcomp/lzham_match_accel.h +146 -0
  17. data/contrib/lzham/lzhamcomp/lzham_null_threading.h +97 -0
  18. data/contrib/lzham/lzhamcomp/lzham_pthreads_threading.cpp +229 -0
  19. data/contrib/lzham/lzhamcomp/lzham_pthreads_threading.h +520 -0
  20. data/contrib/lzham/lzhamcomp/lzham_threading.h +12 -0
  21. data/contrib/lzham/lzhamcomp/lzham_win32_threading.cpp +220 -0
  22. data/contrib/lzham/lzhamcomp/lzham_win32_threading.h +368 -0
  23. data/contrib/lzham/lzhamdecomp/lzham_assert.cpp +66 -0
  24. data/contrib/lzham/lzhamdecomp/lzham_assert.h +40 -0
  25. data/contrib/lzham/lzhamdecomp/lzham_checksum.cpp +73 -0
  26. data/contrib/lzham/lzhamdecomp/lzham_checksum.h +13 -0
  27. data/contrib/lzham/lzhamdecomp/lzham_config.h +23 -0
  28. data/contrib/lzham/lzhamdecomp/lzham_core.h +264 -0
  29. data/contrib/lzham/lzhamdecomp/lzham_decomp.h +37 -0
  30. data/contrib/lzham/lzhamdecomp/lzham_helpers.h +54 -0
  31. data/contrib/lzham/lzhamdecomp/lzham_huffman_codes.cpp +262 -0
  32. data/contrib/lzham/lzhamdecomp/lzham_huffman_codes.h +14 -0
  33. data/contrib/lzham/lzhamdecomp/lzham_lzdecomp.cpp +1527 -0
  34. data/contrib/lzham/lzhamdecomp/lzham_lzdecompbase.cpp +131 -0
  35. data/contrib/lzham/lzhamdecomp/lzham_lzdecompbase.h +89 -0
  36. data/contrib/lzham/lzhamdecomp/lzham_math.h +142 -0
  37. data/contrib/lzham/lzhamdecomp/lzham_mem.cpp +284 -0
  38. data/contrib/lzham/lzhamdecomp/lzham_mem.h +112 -0
  39. data/contrib/lzham/lzhamdecomp/lzham_platform.cpp +157 -0
  40. data/contrib/lzham/lzhamdecomp/lzham_platform.h +284 -0
  41. data/contrib/lzham/lzhamdecomp/lzham_prefix_coding.cpp +351 -0
  42. data/contrib/lzham/lzhamdecomp/lzham_prefix_coding.h +146 -0
  43. data/contrib/lzham/lzhamdecomp/lzham_symbol_codec.cpp +1484 -0
  44. data/contrib/lzham/lzhamdecomp/lzham_symbol_codec.h +556 -0
  45. data/contrib/lzham/lzhamdecomp/lzham_timer.cpp +147 -0
  46. data/contrib/lzham/lzhamdecomp/lzham_timer.h +99 -0
  47. data/contrib/lzham/lzhamdecomp/lzham_traits.h +141 -0
  48. data/contrib/lzham/lzhamdecomp/lzham_types.h +97 -0
  49. data/contrib/lzham/lzhamdecomp/lzham_utils.h +58 -0
  50. data/contrib/lzham/lzhamdecomp/lzham_vector.cpp +75 -0
  51. data/contrib/lzham/lzhamdecomp/lzham_vector.h +588 -0
  52. data/contrib/lzham/lzhamlib/lzham_lib.cpp +179 -0
  53. data/examples/basic.rb +48 -0
  54. data/ext/constants.c +64 -0
  55. data/ext/decoder.c +313 -0
  56. data/ext/depend +5 -0
  57. data/ext/encoder.c +372 -0
  58. data/ext/error.c +80 -0
  59. data/ext/extconf.rb +29 -0
  60. data/ext/extlzham.c +34 -0
  61. data/ext/extlzham.h +62 -0
  62. data/gemstub.rb +22 -0
  63. data/lib/2.0/extlzham.so +0 -0
  64. data/lib/2.1/extlzham.so +0 -0
  65. data/lib/2.2/extlzham.so +0 -0
  66. data/lib/extlzham.rb +158 -0
  67. data/lib/extlzham/version.rb +5 -0
  68. data/test/test_extlzham.rb +35 -0
  69. metadata +156 -0
@@ -0,0 +1,29 @@
1
+ #!ruby
2
+ #vim: set fileencoding:utf-8
3
+
4
+ require "mkmf"
5
+
6
+ dir = File.dirname(__FILE__).gsub(/[\[\{\?\*]/, "[\\0]")
7
+ filepattern = "{.,../contrib/lzham/{lzhamcomp,lzhamdecomp,lzhamlib}}/*.c{,pp}"
8
+ target = File.join(dir, filepattern)
9
+ files = Dir.glob(target).map { |n| File.basename n }
10
+ rejects = (RbConfig::CONFIG["arch"] =~ /mswin|mingw/) ? /_pthreads_/ : /_win32_/
11
+ files.reject! { |n| n =~ rejects }
12
+ $srcs = files
13
+
14
+ $VPATH.push "$(srcdir)/../contrib/lzham/lzhamcomp",
15
+ "$(srcdir)/../contrib/lzham/lzhamdecomp",
16
+ "$(srcdir)/../contrib/lzham/lzhamlib"
17
+
18
+ find_header "lzham.h", "$(srcdir)/../contrib/lzham/include" or abort 1
19
+ find_header "lzham_comp.h", "$(srcdir)/../contrib/lzham/lzhamcomp" or abort 1
20
+ find_header "lzham_decomp.h", "$(srcdir)/../contrib/lzham/lzhamdecomp" or abort 1
21
+
22
+ if RbConfig::CONFIG["arch"] =~ /mingw/
23
+ $CPPFLAGS << " -D__forceinline=__attribute__\\(\\(always_inline\\)\\)"
24
+ $LDFLAGS << " -static-libgcc -static-libstdc++"
25
+ end
26
+
27
+ try_link "void main(void){}", " -Wl,-Bsymbolic " and $LDFLAGS << " -Wl,-Bsymbolic "
28
+
29
+ create_makefile("extlzham")
@@ -0,0 +1,34 @@
1
+ #include "extlzham.h"
2
+
3
+ VALUE mLZHAM;
4
+
5
+ ID id_op_lshift;
6
+ ID id_dictsize;
7
+ ID id_level;
8
+ ID id_table_update_rate;
9
+ ID id_threads;
10
+ ID id_flags;
11
+ ID id_table_max_update_interval;
12
+ ID id_table_update_interval_slow_rate;
13
+
14
+ void
15
+ Init_extlzham(void)
16
+ {
17
+ id_op_lshift = rb_intern("<<");
18
+ id_dictsize = rb_intern("dictsize");
19
+ id_level = rb_intern("level");
20
+ id_table_update_rate = rb_intern("table_update_rate");
21
+ id_threads = rb_intern("threads");
22
+ id_flags = rb_intern("flags");
23
+ id_table_max_update_interval = rb_intern("table_max_update_interval");
24
+ id_table_update_interval_slow_rate = rb_intern("table_update_interval_slow_rate");
25
+
26
+ mLZHAM = rb_define_module("LZHAM");
27
+ rb_define_const(mLZHAM, "LZHAM", mLZHAM);
28
+ rb_define_const(mLZHAM, "LIBVERSION", UINT2NUM(lzham_get_version()));
29
+
30
+ extlzham_init_error();
31
+ extlzham_init_constants();
32
+ extlzham_init_encoder();
33
+ extlzham_init_decoder();
34
+ }
@@ -0,0 +1,62 @@
1
+ #ifndef EXTLZHAM_H
2
+ #define EXTLZHAM_H 1
3
+
4
+ #include <stdint.h>
5
+ #include <ruby.h>
6
+ #include <ruby/thread.h>
7
+ #include <lzham.h>
8
+
9
+ #define RDOCFAKE(STMT)
10
+
11
+ extern VALUE mLZHAM;
12
+ extern VALUE eError;
13
+ extern VALUE cEncoder;
14
+ extern VALUE cDecoder;
15
+ extern VALUE mConsts;
16
+
17
+ extern ID id_op_lshift;
18
+ extern ID id_dictsize;
19
+ extern ID id_level;
20
+ extern ID id_table_update_rate;
21
+ extern ID id_threads;
22
+ extern ID id_flags;
23
+ extern ID id_table_max_update_interval;
24
+ extern ID id_table_update_interval_slow_rate;
25
+
26
+ enum {
27
+ //WORKBUF_SIZE = 256 * 1024, /* 256 KiB */
28
+ WORKBUF_SIZE = 1 << 20, /* 1 MiB */
29
+ //WORKBUF_SIZE = 1 << 16, /* 64 KiB */
30
+ };
31
+
32
+ const char *extlzham_encode_status_str(lzham_compress_status_t status);
33
+ const char *extlzham_decode_status_str(lzham_decompress_status_t status);
34
+ void extlzham_encode_error(lzham_compress_status_t status);
35
+ void extlzham_decode_error(lzham_decompress_status_t status);
36
+
37
+ void extlzham_init_error(void);
38
+ void extlzham_init_constants(void);
39
+ void extlzham_init_encoder(void);
40
+ void extlzham_init_decoder(void);
41
+
42
+ static inline uint32_t
43
+ aux_getoptu32(VALUE hash, ID key, uint32_t defaultvalue)
44
+ {
45
+ VALUE d = rb_hash_lookup2(hash, ID2SYM(key), Qundef);
46
+ if (d == Qundef) { return defaultvalue; }
47
+ return NUM2UINT(d);
48
+ }
49
+
50
+ static inline VALUE
51
+ aux_str_reserve(VALUE str, size_t size)
52
+ {
53
+ if (size > rb_str_capacity(str)) {
54
+ rb_str_modify_expand(str, size - RSTRING_LEN(str));
55
+ } else {
56
+ rb_str_modify(str);
57
+ }
58
+
59
+ return str;
60
+ }
61
+
62
+ #endif /* !EXTLZHAM_H */
@@ -0,0 +1,22 @@
1
+ #vim: set fileencoding:utf-8
2
+
3
+ require_relative "lib/extlzham/version"
4
+
5
+ GEMSTUB = Gem::Specification.new do |s|
6
+ s.name = "extlzham"
7
+ s.version = LZHAM::VERSION
8
+ s.summary = "ruby bindings for lzham"
9
+ s.description = <<EOS
10
+ ruby bindings for lzham <https://github.com/richgel999/lzham_codec>.
11
+ EOS
12
+ s.homepage = "https://osdn.jp/projects/rutsubo/"
13
+ s.license = "2-clause BSD License"
14
+ s.author = "dearblue"
15
+ s.email = "dearblue@users.osdn.me"
16
+
17
+ s.required_ruby_version = ">= 2.0"
18
+ s.add_development_dependency "rspec", "~> 2.14"
19
+ s.add_development_dependency "rake", "~> 10.0"
20
+ end
21
+
22
+ EXTRA.concat(FileList["contrib/lzham/{LICENSE,README.md,include/lzham.h,{lzhamcomp,lzhamdecomp,lzhamlib}/*.{h,hh,hxx,hpp,c,cc,cxx,cpp,C}}"])
Binary file
Binary file
Binary file
@@ -0,0 +1,158 @@
1
+ #vim: set fileencoding:utf-8
2
+
3
+ ver = RbConfig::CONFIG["ruby_version"].slice(/\d+\.\d+/)
4
+ soname = File.basename(__FILE__, ".rb") << ".so"
5
+ lib = File.join(File.dirname(__FILE__), ver, soname)
6
+ if File.file?(lib)
7
+ require_relative File.join(ver, soname)
8
+ else
9
+ require_relative soname
10
+ end
11
+
12
+ require "stringio"
13
+ require_relative "extlzham/version"
14
+
15
+ module LZHAM
16
+ #
17
+ # call-seq:
18
+ # encode(string, opts = {}) -> encoded string
19
+ # encode(out_stream, opts = {}) -> lzham encoder object
20
+ # encode(out_stream, opts = {}) { |encoder| ... } -> out_stream
21
+ #
22
+ # [RETURN (encoded string)]
23
+ # Return LZHAM'd binary string.
24
+ #
25
+ # [RETURN (lzham encoder object)]
26
+ # Return LZHAM encoder. When finished process, must call <tt>.finish</tt> method (as same as Zlib::Deflate#finish).
27
+ #
28
+ # [RETURN (out_stream)]
29
+ # Return out_stream parameter.
30
+ #
31
+ # [string]
32
+ # Input data as binary.
33
+ #
34
+ # [out_stream]
35
+ # Writable I/O liked object for LZHAM'd binary data.
36
+ #
37
+ # This object is called <tt><<</tt> method.
38
+ #
39
+ # This object is not closed after finished process.
40
+ #
41
+ # [opts (dictsize)]
42
+ # Set in lzham_compress_params.m_dict_size_log2. Default is <tt>LZHAM::MIN_DICT_SIZE_LOG2</tt>.
43
+ #
44
+ # [opts (level)]
45
+ # Set in lzham_compress_params.m_level. Default is <tt>LZHAM::COMP_LEVEL_DEFAULT</tt>.
46
+ #
47
+ # [opts (table_update_rate)]
48
+ # Set in lzham_compress_params.m_table_update_rate. Default is <tt>0</tt>.
49
+ #
50
+ # [opts (threads)]
51
+ # Set in lzham_compress_params.m_max_helper_threads. Default is <tt>-1</tt>.
52
+ #
53
+ # [opts (flags)]
54
+ # Set in lzham_compress_params.m_compress_flags. Default is <tt>0</tt>.
55
+ #
56
+ # [opts (table_max_update_interval)]
57
+ # Set in lzham_compress_params.m_table_max_update_interval. Default is <tt>0</tt>.
58
+ #
59
+ # [opts (table_update_interval_slow_rate)]
60
+ # Set in lzham_compress_params.m_table_update_interval_slow_rate. Default is <tt>0</tt>.
61
+ #
62
+ # [opts (seed)]
63
+ # Set in lzham_compress_params.m_pSeed_bytes and lzham_compress_params.m_num_seed_bytes.
64
+ #
65
+ # But this parameter is ignored currentry (not implemented).
66
+ #
67
+ # ==== example (when given string)
68
+ #
69
+ # require "extlzham"
70
+ # lzhamd = LZHAM.encode("This is not LZHAM'd string data." * 50)
71
+ # p lzhamd.class # => String
72
+ # p lzhamd # => ...binary data...
73
+ #
74
+ def self.encode(obj, *args)
75
+ if obj.kind_of?(String)
76
+ ex = LZHAM::Encoder.new(s = "".force_encoding(Encoding::BINARY), *args)
77
+ ex << obj
78
+ ex.finish
79
+ s
80
+ else
81
+ enc = Encoder.new(obj, *args)
82
+ return enc unless block_given?
83
+ begin
84
+ yield(enc)
85
+ obj
86
+ ensure
87
+ enc.finish
88
+ end
89
+ end
90
+ end
91
+
92
+ #
93
+ # call-seq:
94
+ # decode(string, opts = {}) -> decoded string
95
+ # decode(out_stream, opts = {}) -> lzham decoder object
96
+ # decode(out_stream, opts = {}) { |decoder| ... } -> out_stream
97
+ #
98
+ # [opts (dictsize)]
99
+ # Set in lzham_decompress_params.m_dict_size_log2. Default is <tt>LZHAM::MIN_DICT_SIZE_LOG2</tt>.
100
+ #
101
+ # [opts (table_update_rate)]
102
+ # Set in lzham_decompress_params.m_table_update_rate. Default is <tt>0</tt>.
103
+ #
104
+ # [opts (flags)]
105
+ # Set in lzham_decompress_params.m_compress_flags. Default is <tt>0</tt>.
106
+ #
107
+ # [opts (table_max_update_interval)]
108
+ # Set in lzham_decompress_params.m_table_max_update_interval. Default is <tt>0</tt>.
109
+ #
110
+ # [opts (table_update_interval_slow_rate)]
111
+ # Set in lzham_decompress_params.m_table_update_interval_slow_rate. Default is <tt>0</tt>.
112
+ #
113
+ # [opts (seed)]
114
+ # Set in lzham_decompress_params.m_pSeed_bytes and lzham_decompress_params.m_num_seed_bytes.
115
+ #
116
+ # But this parameter is ignored currentry (not implemented).
117
+ #
118
+ def self.decode(obj, *args)
119
+ if obj.kind_of?(String)
120
+ dx = LZHAM::Decoder.new(s = "".force_encoding(Encoding::BINARY), *args)
121
+ dx << obj
122
+ dx.finish
123
+ s
124
+ else
125
+ dec = Decoder.new(obj, *args)
126
+ return dec unless block_given?
127
+ begin
128
+ yield(dec)
129
+ obj
130
+ ensure
131
+ dec.finish
132
+ end
133
+ end
134
+ end
135
+
136
+ class << self
137
+ alias compress encode
138
+ alias decompress decode
139
+ alias uncompress decode
140
+ end
141
+
142
+ Compressor = Encoder
143
+ Decompressor = Decoder
144
+ Uncompressor = Decoder
145
+
146
+ class Encoder
147
+ alias encode update
148
+ alias compress update
149
+ alias close finish
150
+ end
151
+
152
+ class Decoder
153
+ alias decode update
154
+ alias decompress update
155
+ alias uncompress update
156
+ alias close finish
157
+ end
158
+ end
@@ -0,0 +1,5 @@
1
+ require "rubygems"
2
+
3
+ module LZHAM
4
+ VERSION = Gem::Version.new("0.0.1.PROTOTYPE3")
5
+ end
@@ -0,0 +1,35 @@
1
+ #!ruby
2
+
3
+ require "test-unit"
4
+ require "openssl"
5
+ require "extlzham"
6
+
7
+ SMALLSIZE = 4000
8
+ BIGSIZE = 12000000
9
+
10
+ SAMPLES = [
11
+ "",
12
+ "\0" * SMALLSIZE,
13
+ "\0" * BIGSIZE,
14
+ "\xaa".b * SMALLSIZE,
15
+ "\xaa".b * BIGSIZE,
16
+ OpenSSL::Random.random_bytes(SMALLSIZE),
17
+ OpenSSL::Random.random_bytes(BIGSIZE),
18
+ ]
19
+
20
+ SAMPLES << File.read("/usr/ports/INDEX-10", mode: "rb") rescue nil # if on FreeBSD
21
+ SAMPLES << File.read("/boot/kernel/kernel", mode: "rb") rescue nil # if on FreeBSD
22
+
23
+ class TestExtlzham < Test::Unit::TestCase
24
+ SAMPLES.size.times do |i|
25
+ class_eval <<-EOS, __FILE__, __LINE__ + 1
26
+ def test_encode1_decode_#{i}
27
+ assert { LZHAM.decode(LZHAM.encode(SAMPLES[#{i}])) == SAMPLES[#{i}] }
28
+ end
29
+
30
+ def test_encode2_decode_#{i}
31
+ assert { LZHAM.decode(LZHAM::Encoder.encode(SAMPLES[#{i}])) == SAMPLES[#{i}] }
32
+ end
33
+ EOS
34
+ end
35
+ end
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: extlzham
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.PROTOTYPE3
5
+ platform: x86-mingw32
6
+ authors:
7
+ - dearblue
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: |
42
+ ruby bindings for lzham <https://github.com/richgel999/lzham_codec>.
43
+ email: dearblue@users.osdn.me
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files:
47
+ - LICENSE.md
48
+ - README.md
49
+ - contrib/lzham/LICENSE
50
+ - contrib/lzham/README.md
51
+ - ext/constants.c
52
+ - ext/decoder.c
53
+ - ext/encoder.c
54
+ - ext/error.c
55
+ - ext/extlzham.c
56
+ - ext/extlzham.h
57
+ - lib/extlzham.rb
58
+ - lib/extlzham/version.rb
59
+ files:
60
+ - LICENSE.md
61
+ - README.md
62
+ - Rakefile
63
+ - contrib/lzham/LICENSE
64
+ - contrib/lzham/README.md
65
+ - contrib/lzham/include/lzham.h
66
+ - contrib/lzham/lzhamcomp/lzham_comp.h
67
+ - contrib/lzham/lzhamcomp/lzham_lzbase.cpp
68
+ - contrib/lzham/lzhamcomp/lzham_lzbase.h
69
+ - contrib/lzham/lzhamcomp/lzham_lzcomp.cpp
70
+ - contrib/lzham/lzhamcomp/lzham_lzcomp_internal.cpp
71
+ - contrib/lzham/lzhamcomp/lzham_lzcomp_internal.h
72
+ - contrib/lzham/lzhamcomp/lzham_lzcomp_state.cpp
73
+ - contrib/lzham/lzhamcomp/lzham_match_accel.cpp
74
+ - contrib/lzham/lzhamcomp/lzham_match_accel.h
75
+ - contrib/lzham/lzhamcomp/lzham_null_threading.h
76
+ - contrib/lzham/lzhamcomp/lzham_pthreads_threading.cpp
77
+ - contrib/lzham/lzhamcomp/lzham_pthreads_threading.h
78
+ - contrib/lzham/lzhamcomp/lzham_threading.h
79
+ - contrib/lzham/lzhamcomp/lzham_win32_threading.cpp
80
+ - contrib/lzham/lzhamcomp/lzham_win32_threading.h
81
+ - contrib/lzham/lzhamdecomp/lzham_assert.cpp
82
+ - contrib/lzham/lzhamdecomp/lzham_assert.h
83
+ - contrib/lzham/lzhamdecomp/lzham_checksum.cpp
84
+ - contrib/lzham/lzhamdecomp/lzham_checksum.h
85
+ - contrib/lzham/lzhamdecomp/lzham_config.h
86
+ - contrib/lzham/lzhamdecomp/lzham_core.h
87
+ - contrib/lzham/lzhamdecomp/lzham_decomp.h
88
+ - contrib/lzham/lzhamdecomp/lzham_helpers.h
89
+ - contrib/lzham/lzhamdecomp/lzham_huffman_codes.cpp
90
+ - contrib/lzham/lzhamdecomp/lzham_huffman_codes.h
91
+ - contrib/lzham/lzhamdecomp/lzham_lzdecomp.cpp
92
+ - contrib/lzham/lzhamdecomp/lzham_lzdecompbase.cpp
93
+ - contrib/lzham/lzhamdecomp/lzham_lzdecompbase.h
94
+ - contrib/lzham/lzhamdecomp/lzham_math.h
95
+ - contrib/lzham/lzhamdecomp/lzham_mem.cpp
96
+ - contrib/lzham/lzhamdecomp/lzham_mem.h
97
+ - contrib/lzham/lzhamdecomp/lzham_platform.cpp
98
+ - contrib/lzham/lzhamdecomp/lzham_platform.h
99
+ - contrib/lzham/lzhamdecomp/lzham_prefix_coding.cpp
100
+ - contrib/lzham/lzhamdecomp/lzham_prefix_coding.h
101
+ - contrib/lzham/lzhamdecomp/lzham_symbol_codec.cpp
102
+ - contrib/lzham/lzhamdecomp/lzham_symbol_codec.h
103
+ - contrib/lzham/lzhamdecomp/lzham_timer.cpp
104
+ - contrib/lzham/lzhamdecomp/lzham_timer.h
105
+ - contrib/lzham/lzhamdecomp/lzham_traits.h
106
+ - contrib/lzham/lzhamdecomp/lzham_types.h
107
+ - contrib/lzham/lzhamdecomp/lzham_utils.h
108
+ - contrib/lzham/lzhamdecomp/lzham_vector.cpp
109
+ - contrib/lzham/lzhamdecomp/lzham_vector.h
110
+ - contrib/lzham/lzhamlib/lzham_lib.cpp
111
+ - examples/basic.rb
112
+ - ext/constants.c
113
+ - ext/decoder.c
114
+ - ext/depend
115
+ - ext/encoder.c
116
+ - ext/error.c
117
+ - ext/extconf.rb
118
+ - ext/extlzham.c
119
+ - ext/extlzham.h
120
+ - gemstub.rb
121
+ - lib/2.0/extlzham.so
122
+ - lib/2.1/extlzham.so
123
+ - lib/2.2/extlzham.so
124
+ - lib/extlzham.rb
125
+ - lib/extlzham/version.rb
126
+ - test/test_extlzham.rb
127
+ homepage: https://osdn.jp/projects/rutsubo/
128
+ licenses:
129
+ - 2-clause BSD License
130
+ metadata: {}
131
+ post_install_message:
132
+ rdoc_options:
133
+ - "--charset"
134
+ - UTF-8
135
+ - "-m"
136
+ - README.md
137
+ require_paths:
138
+ - lib
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '2.0'
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">"
147
+ - !ruby/object:Gem::Version
148
+ version: 1.3.1
149
+ requirements: []
150
+ rubyforge_project:
151
+ rubygems_version: 2.4.8
152
+ signing_key:
153
+ specification_version: 4
154
+ summary: ruby bindings for lzham
155
+ test_files: []
156
+ has_rdoc: