Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix call names
  • Loading branch information
sorear committed Nov 21, 2012
1 parent 2efdd99 commit 19fa03a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/CompilerBinding.cs
Expand Up @@ -224,7 +224,7 @@ public partial class Builtins {
return Downcaller.DCResult(si.Fetch().mo.setting, Downcaller.RawDowncall(args));
}

public static string DoHash(string input) {
public static string cb_do_hash(string input) {
HashAlgorithm sha = SHA256.Create();
byte[] ibytes = new UTF8Encoding().GetBytes(input);
byte[] hash = sha.ComputeHash(ibytes);
Expand All @@ -236,13 +236,13 @@ public partial class Builtins {
return new string(buf);
}

public static string ExecName() {
public static string cb_exec_name() {
return Assembly.GetEntryAssembly().Location;
}

static Dictionary<P6any,Dictionary<P6any,Variable>> role_cache =
new Dictionary<P6any,Dictionary<P6any,Variable>>();
public static Variable CachedBut(P6any but, Variable v1, Variable v2) {
public static Variable cb_cached_but(P6any but, Variable v1, Variable v2) {
P6any a1 = v1.Fetch();
P6any a2 = v2.Fetch();
Dictionary<P6any,Variable> subcache;
Expand Down

0 comments on commit 19fa03a

Please sign in to comment.