You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
316 B
22 lines
316 B
//
|
|
// Created by Marek Kotewicz on 28/04/15.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
namespace dev
|
|
{
|
|
namespace eth
|
|
{
|
|
|
|
template <typename T>
|
|
class JSPrinter
|
|
{
|
|
public:
|
|
virtual const char* print(T const& _value) const { return _value.asCString(); }
|
|
virtual const char* prettyPrint(T const& _value) const { return print(_value); }
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
|