Browse Source

Style.

cl-refactor
chriseth 10 years ago
parent
commit
02c9589734
  1. 3
      libsolidity/AST.h
  2. 6
      libsolidity/Compiler.h

3
libsolidity/AST.h

@ -563,7 +563,8 @@ private:
class ModifierDefinition: public CallableDeclaration, public Documented
{
public:
ModifierDefinition(SourceLocation const& _location,
ModifierDefinition(
SourceLocation const& _location,
ASTPointer<ASTString> const& _name,
ASTPointer<ASTString> const& _documentation,
ASTPointer<ParameterList> const& _parameters,

6
libsolidity/Compiler.h

@ -74,9 +74,11 @@ private:
/// Creates code that unpacks the arguments for the given function represented by a vector of TypePointers.
/// From memory if @a _fromMemory is true, otherwise from call data.
/// Expects source offset on the stack.
void appendCalldataUnpacker(TypePointers const& _typeParameters,
void appendCalldataUnpacker(
TypePointers const& _typeParameters,
bool _fromMemory = false,
u256 _startOffset = u256(-1));
u256 _startOffset = u256(-1)
);
void appendReturnValuePacker(TypePointers const& _typeParameters);
void registerStateVariables(ContractDefinition const& _contract);

Loading…
Cancel
Save