Sha256: 7b140f951bad8e7e1f0c3de98c512e5763e1f487eca81dace6d850e5ae695e12
Contents?: true
Size: 506 Bytes
Versions: 10
Compression:
Stored size: 506 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_type!(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
10 entries across 10 versions & 2 rubygems