Method: Concurrent::CAtomicFixnum#value=

Defined in:
ext/concurrent-ruby-ext/atomic_fixnum.c

#value=(value) ⇒ Object



37
38
39
40
41
# File 'ext/concurrent-ruby-ext/atomic_fixnum.c', line 37

VALUE method_atomic_fixnum_value_set(VALUE self, VALUE value) {
  Check_Type(value, T_FIXNUM);
  DATA_PTR(self) = (void *) value;
  return(value);
}