ext/vararray.cpp in gecoder-0.8.2 vs ext/vararray.cpp in gecoder-0.8.3
- old
+ new
@@ -131,11 +131,11 @@
}
void MIntVarArray::gc_mark()
{
for(int i = size(); i--; ) {
- rb_gc_mark(Rust_gecode::cxx2ruby(&(d->array[i])));
+ rb_gc_mark(Rust_gecode::cxx2ruby(&(d->array[i]), false, false));
}
}
void MIntVarArray::debug() const
{
@@ -208,11 +208,11 @@
}
void MBoolVarArray::gc_mark()
{
for(int i = size(); i--; ) {
- rb_gc_mark(Rust_gecode::cxx2ruby(&(d->array[i])));
+ rb_gc_mark(Rust_gecode::cxx2ruby(&(d->array[i]), false, false));
}
}
void MBoolVarArray::debug() const
{
@@ -304,10 +304,10 @@
}
void MSetVarArray::gc_mark()
{
for(int i = size(); i--; ) {
- rb_gc_mark(Rust_gecode::cxx2ruby(&(d->array[i])));
+ rb_gc_mark(Rust_gecode::cxx2ruby(&(d->array[i]), false, false));
}
}
void MSetVarArray::debug() const
{