You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface is currently written in terms of nativeint, the type of pointer-sized raw values. You can store OCaml values in TLS by manipulating and registering them with the GC using Ctypes.Root. The conversions between unit ptr and nativeint are Ctypes.ptr_of_raw_address and Ctypes.raw_address_of_ptr.
A future version of this API is likely to handle GC roots internally, and be directly usable with OCaml values.
The text was updated successfully, but these errors were encountered:
See https://aantron.github.io/luv/luv/Luv/TLS/index.html:
The text was updated successfully, but these errors were encountered: