Sha256: ddd15708153b6214e9860a0279ad38fd521de96d15c7495506280844f5ebce67
Contents?: true
Size: 514 Bytes
Versions: 26
Compression:
Stored size: 514 Bytes
Contents
//-*-c++-*- // Template of a generic C function call VALUE set!parent_varname!!attribute_bindname!(VALUE self, VALUE val) { !c_class_name!* tmp = ruby2!class_varcname!Ptr(self); if ( ! tmp ) return Qnil; tmp->!attribute_name! = ruby2!attribute_convert_name!(val); return Qnil; } VALUE get!parent_varname!!attribute_bindname!(VALUE self) { !c_class_name!* tmp = ruby2!class_varcname!Ptr(self); if ( ! tmp ) return Qnil; return cxx2ruby(static_cast<!attribute_type!>(tmp->!attribute_name!)); }
Version data entries
26 entries across 26 versions & 2 rubygems