Skip to content
Snippets Groups Projects
Commit c88acc8b authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-01-29 09:30:51 by simonm]

zh --> Zh
parent b4613af3
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ mkSplitUniqSupply (C# c#) ...@@ -86,7 +86,7 @@ mkSplitUniqSupply (C# c#)
return (MkSplitUniqSupply uniq s1 s2) return (MkSplitUniqSupply uniq s1 s2)
) )
mk_unique = _ccall_ genSymzh >>= \ (W# u#) -> mk_unique = _ccall_ genSymZh >>= \ (W# u#) ->
return (I# (w2i (mask# `or#` u#))) return (I# (w2i (mask# `or#` u#)))
in in
mk_supply# mk_supply#
......
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: RtsUtils.c,v 1.4 1999/01/27 14:51:21 simonpj Exp $ * $Id: RtsUtils.c,v 1.5 1999/01/29 09:30:51 simonm Exp $
* *
* General utility functions used in the RTS. * General utility functions used in the RTS.
* *
...@@ -160,12 +160,12 @@ nat stg_strlen(char *s) ...@@ -160,12 +160,12 @@ nat stg_strlen(char *s)
I_ __GenSymCounter = 0; I_ __GenSymCounter = 0;
I_ I_
genSymzh(void) genSymZh(void)
{ {
return(__GenSymCounter++); return(__GenSymCounter++);
} }
I_ I_
resetGenSymzh(void) /* it's your funeral */ resetGenSymZh(void) /* it's your funeral */
{ {
__GenSymCounter=0; __GenSymCounter=0;
return(__GenSymCounter); return(__GenSymCounter);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment