Function ruby_init_stack

Source
pub unsafe extern "C" fn ruby_init_stack(addr: *mut VALUE)
Expand description

Set stack bottom of Ruby implementation.

You must call this function before any heap allocation by Ruby implementation. Or GC will break living objects.

ยง@param[in] addr A pointer somewhere on the stack, near its bottom.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3