From 7d25844b9c2d72569e90e44e09a4240324477a64 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 4 Nov 2014 19:35:59 +0100 Subject: [PATCH] Fixed doxygen comment. --- libevmface/Instruction.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libevmface/Instruction.h b/libevmface/Instruction.h index 0477f9ca1..8392c410b 100644 --- a/libevmface/Instruction.h +++ b/libevmface/Instruction.h @@ -176,13 +176,13 @@ enum class Instruction: uint8_t SUICIDE = 0xff ///< halt execution and register account for later deletion }; -/// Returs the PUSH<_number> instruction +/// @returns the PUSH<_number> instruction inline Instruction pushInstruction(unsigned _number) { assert(1 <= _number && _number <= 32); return Instruction(unsigned(Instruction::PUSH1) + _number - 1); } -/// Returs the DUP<_number> instruction +/// @returns the DUP<_number> instruction inline Instruction dupInstruction(unsigned _number) { assert(1 <= _number && _number <= 16); return Instruction(unsigned(Instruction::DUP1) + _number - 1); } -/// Returs the SWAP<_number> instruction +/// @returns the SWAP<_number> instruction inline Instruction swapInstruction(unsigned _number) { assert(1 <= _number && _number <= 16); return Instruction(unsigned(Instruction::SWAP1) + _number - 1); } /// Information structure for a particular instruction.