add addrof directive (was: ptrto)

2 May
2013
2 May
'13
4:09 p.m.
{#addrof <path> #} retrieves the address of a field of a c structure, following <path>. It behaves much like get or set, but instead of marshalling the target it returns a pointer to it. This is useful e.g. when the associated Haskell type doesn't have a Storable instance, for example SockAddr. See also: http://www.haskell.org/pipermail/c2hs/2013-March/001113.html
4401
Age (days ago)
4401
Last active (days ago)
0 comments
1 participants
participants (1)
-
Philipp Balzarek