X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FPrimOps.h;h=a33db9cc78d108423b3c4e72912fac99caf58126;hb=52c078343e70a170441fed71480ba8569475c4cd;hp=a163ade84a1c153248b024eb267c2d6791fb2a8d;hpb=1cc01adad4360ab1014b83ce933aec055d5d0e85;p=ghc-hetmet.git diff --git a/ghc/includes/PrimOps.h b/ghc/includes/PrimOps.h index a163ade..a33db9c 100644 --- a/ghc/includes/PrimOps.h +++ b/ghc/includes/PrimOps.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.h,v 1.79 2001/07/24 06:31:35 ken Exp $ + * $Id: PrimOps.h,v 1.80 2001/08/08 10:50:37 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -664,8 +664,13 @@ EXTFUN_RTS(unsafeThawArrayzh_fast); /* and the out-of-line ones... */ EXTFUN_RTS(newByteArrayzh_fast); +EXTFUN_RTS(newPinnedByteArrayzh_fast); EXTFUN_RTS(newArrayzh_fast); +// Highly unsafe, for use with a pinned ByteArray +// being kept alive with touch# +#define byteArrayContentszh(r,a) r = BYTE_ARR_CTS(a) + /* encoding and decoding of floats/doubles. */ /* We only support IEEE floating point format */