simple-mmap 1.1.2 → 1.1.3
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.
- data/ext/simple_mmap/mapped_file.c +0 -2
- metadata +1 -1
@@ -122,7 +122,6 @@ static VALUE sm_mapped_file_read_window_data(VALUE vself, VALUE voffset, VALUE v
|
|
122
122
|
VALUE vsm_map;
|
123
123
|
simple_mmap_map *sm_map;
|
124
124
|
|
125
|
-
sm_map = ALLOC(simple_mmap_map);
|
126
125
|
vsm_map = rb_ivar_get(vself, rb_intern("@mmap_data"));
|
127
126
|
Data_Get_Struct(vsm_map, simple_mmap_map, sm_map);
|
128
127
|
|
@@ -158,7 +157,6 @@ static VALUE sm_mapped_file_size(VALUE vself)
|
|
158
157
|
VALUE vsm_map;
|
159
158
|
simple_mmap_map *sm_map;
|
160
159
|
|
161
|
-
sm_map = ALLOC(simple_mmap_map);
|
162
160
|
vsm_map = rb_ivar_get(vself, rb_intern("@mmap_data"));
|
163
161
|
Data_Get_Struct(vsm_map, simple_mmap_map, sm_map);
|
164
162
|
return UINT2NUM(sm_map->len);
|