diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-14 19:37:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-14 19:37:26 +0800 |
commit | f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d (patch) | |
tree | 9ac63476eec450a8b9ecb261f07b91cdeea2a7c4 /ethvm/vm_debug.go | |
parent | 393a92811bd810e33cf1e0b281f9fefa09643cd2 (diff) | |
download | go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.tar go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.tar.gz go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.tar.bz2 go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.tar.lz go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.tar.xz go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.tar.zst go-tangerine-f55e39cf1ae138f7698d8dce3aeee5eaa3f87a7d.zip |
Tests for native function calling
Diffstat (limited to 'ethvm/vm_debug.go')
-rw-r--r-- | ethvm/vm_debug.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethvm/vm_debug.go b/ethvm/vm_debug.go index 8892ed6b8..0a1e0155e 100644 --- a/ethvm/vm_debug.go +++ b/ethvm/vm_debug.go @@ -846,7 +846,7 @@ func (self *DebugVm) RunClosure(closure *Closure) (ret []byte, err error) { } } -func (self *DebugVm) Printf(format string, v ...interface{}) *DebugVm { +func (self *DebugVm) Printf(format string, v ...interface{}) VirtualMachine { if self.logTy == LogTyPretty { self.logStr += fmt.Sprintf(format, v...) } @@ -854,7 +854,7 @@ func (self *DebugVm) Printf(format string, v ...interface{}) *DebugVm { return self } -func (self *DebugVm) Endl() *DebugVm { +func (self *DebugVm) Endl() VirtualMachine { if self.logTy == LogTyPretty { vmlogger.Debugln(self.logStr) self.logStr = "" |