diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2010-05-26 07:55:02 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2010-05-26 07:55:02 +0900 |
| commit | 47185d757ebee52cc06775a843b3bf06292d8bf1 (patch) | |
| tree | 2c62bab6f09c398ab10105e8d129f2179e702a3e /ruby | |
| parent | 94c39985079cff23d85d333ea69d554216ac79e0 (diff) | |
| download | msgpack-python-47185d757ebee52cc06775a843b3bf06292d8bf1.tar.gz | |
ruby: version 0.4.0
Diffstat (limited to 'ruby')
| -rw-r--r-- | ruby/unpack.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ruby/unpack.c b/ruby/unpack.c index c4b5e29..c93af35 100644 --- a/ruby/unpack.c +++ b/ruby/unpack.c @@ -130,8 +130,6 @@ static inline int template_callback_map_item(unpack_user* u, VALUE* c, VALUE k, #endif static inline int template_callback_raw(unpack_user* u, const char* b, const char* p, unsigned int l, VALUE* o) -//{ *o = (l <= COW_MIN_SIZE) ? rb_str_new(p, l) : rb_str_substr(u->source, p - b, l); return 0; } -//{ *o = rb_str_new(p, l); return 0; } { if(u->source == Qnil || l <= COW_MIN_SIZE) { *o = rb_str_new(p, l); |
