Sha256: 9e1c76c7d3200b2b823c87a035a01343ce0796d8a5768a69261db969d8d50501

Contents?: true

Size: 446 Bytes

Versions: 36

Compression:

Stored size: 446 Bytes

Contents

//-*-c++-*-
// Template for the init function snippet registering a method.
// Note that in the case of a method, !parent_varname! would be a
// synonim for !class_varname!.
  
  // Set
  rb_define_method(r!parent_varname!, "!attribute_bindname!=", RUBY_METHOD_FUNC(set!parent_varname!!attribute_bindname!), 1);
  // Get
  rb_define_method(r!parent_varname!, "!attribute_bindname!", RUBY_METHOD_FUNC(get!parent_varname!!attribute_bindname!), 0);

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
gecoder-with-gecode-1.1.1.1 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-1.1.1 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-1.1.1 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-1.1.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-1.1.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-0.8.3-mswin32 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-0.8.2-mswin32 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-0.8.1-mswin32 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-0.8.0-mswin32 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-with-gecode-0.7.1-mswin32 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.5.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.4.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.3.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.2.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.6.1 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.7.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.7.1 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.8.2 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.8.0 vendor/rust/rust/templates/AttributeInitBinding.rusttpl
gecoder-0.8.1 vendor/rust/rust/templates/AttributeInitBinding.rusttpl