[C2hs] darcs patch: add ptrto directive

General Failure species64738 at googlemail.com
Sat Mar 30 15:59:19 CET 2013


1 patch for repository http://code.haskell.org/c2hs:

Sun Mar 24 16:21:29 CET 2013  p.balzarek at googlemail.com
  * add ptrto directive

{#ptrto <path> #} creates a pointer into 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/c2hs/attachments/20130330/6f87230a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptrto.patch
Type: application/octet-stream
Size: 9590 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/c2hs/attachments/20130330/6f87230a/attachment.obj>


More information about the C2hs mailing list