Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

encapsulate get parameter multi type

  • Loading branch information...
commit 678cd52c346576acbd6081cff54c8371991f6358 1 parent 669383b
@NotFound authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 winxedst2.winxed
View
11 winxedst2.winxed
@@ -10676,6 +10676,10 @@ class FunctionParameter
{
return self.type;
}
+ function get_pir_multi_type()
+ {
+ return typetopirname(self.type);
+ }
function getvar()
{
return self.func.getvar(self.name);
@@ -10775,12 +10779,7 @@ class FunctionParameterList
}
function addmultisig(var multi_sig)
{
- transform(self.paramlist, multi_sig,
- function (var param)
- {
- return typetopirname(param.get_type());
- }
- );
+ transform(self.paramlist, multi_sig, bindmethod("get_pir_multi_type"));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.