Sha256: c1d53f19f09c7ffa74f79cd301b5667e8380a3471bf1d01cc99e1feb2d698e09
Contents?: true
Size: 867 Bytes
Versions: 12
Compression:
Stored size: 867 Bytes
Contents
o:$YARD::CodeObjects::MethodObject: @name:initialize_copy:@docstringIC:YARD::Docstring":nodoc: :@objectu:YARD::StubProxyStruct#initialize_copy: @summary0: @all":nodoc::@ref_tags[ : @tags[ :@current_file_has_commentsF:@scope: instance:@parameters[ :@docstring_extra0:@files[[" struct.c0:@namespaceu;Struct: @path"Struct#initialize_copy;[ :@visibility:public:@source"Ç/* :nodoc: */ static VALUE rb_struct_init_copy(copy, s) VALUE copy, s; { if (copy == s) return copy; rb_check_frozen(copy); if (!rb_obj_is_instance_of(s, rb_obj_class(copy))) { rb_raise(rb_eTypeError, "wrong argument class"); } if (RSTRUCT(copy)->len != RSTRUCT(s)->len) { rb_raise(rb_eTypeError, "struct size mismatch"); } MEMCPY(RSTRUCT(copy)->ptr, RSTRUCT(s)->ptr, VALUE, RSTRUCT(copy)->len); return copy; }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems