X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FMarshal%2FUtils.hs;h=b62e618ba189d8adf349d81c61607b0749eb995d;hb=5296d8bd89b06d00878a1922da296dd3bbda623e;hp=0012fedf2c6cd3c5366bf5961055ef9e5f4ab729;hpb=6d89a2fe861274e66e6fa0a5cdd48b1161b33b75;p=ghc-base.git diff --git a/Foreign/Marshal/Utils.hs b/Foreign/Marshal/Utils.hs index 0012fed..b62e618 100644 --- a/Foreign/Marshal/Utils.hs +++ b/Foreign/Marshal/Utils.hs @@ -87,7 +87,7 @@ new val = -- |@'with' val f@ executes the computation @f@, passing as argument -- a pointer to a temporarily allocated block of memory into which --- 'val' has been marshalled (the combination of 'alloca' and 'poke'). +-- @val@ has been marshalled (the combination of 'alloca' and 'poke'). -- -- The memory is freed when @f@ terminates (either normally or via an -- exception), so the pointer passed to @f@ must /not/ be used after this.