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

Version Path
gecoder-with-gecode-1.1.1.1 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-1.1.1 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-1.1.1 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-1.1.0 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-1.1.0 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.3-mswin32 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.2-mswin32 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.1-mswin32 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.0-mswin32 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-0.8.0 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-0.8.1 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-0.8.3 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-0.8.2 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-1.0.0 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-0.9.1 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-0.9.0 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.0 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.1 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.8.2 vendor/rust/rust/templates/AttributeDefinition.rusttpl
gecoder-with-gecode-0.9.0-x86-mswin32-60 vendor/rust/rust/templates/AttributeDefinition.rusttpl