Skip to main content

install

Function install 

Source
unsafe fn install<T: TypedExternal>(sexp: SEXP, carrier: SEXP, value: T)
Expand description

Puts value in sexp, as construction puts a new value in a new pointer (the finalizer first, then the address), with the protection list attach describes.

§Safety

As attach; carrier is the last element of sexp’s saved list.