add addrof directive (was: ptrto)
3 May
2013
3 May
'13
1:39 a.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
4636
Age (days ago)
4636
Last active (days ago)
0 comments
1 participants
participants (1)
-
Philipp Balzarek