Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
This commit is contained in:
commit
9b2190aa63
2 changed files with 7 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <fc/fwd.hpp>
|
#include <fc/fwd.hpp>
|
||||||
#include <fc/string.hpp>
|
#include <fc/string.hpp>
|
||||||
|
#include <fc/reflect/typename.hpp>
|
||||||
|
|
||||||
|
|
||||||
namespace fc{
|
namespace fc{
|
||||||
class sha512;
|
class sha512;
|
||||||
|
|
@ -75,6 +77,8 @@ class ripemd160
|
||||||
typedef ripemd160 uint160_t;
|
typedef ripemd160 uint160_t;
|
||||||
typedef ripemd160 uint160;
|
typedef ripemd160 uint160;
|
||||||
|
|
||||||
|
template<> struct get_typename<uint160> { static const char* name() { return "uint160"; } };
|
||||||
|
|
||||||
} // namespace fc
|
} // namespace fc
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <fc/string.hpp>
|
#include <fc/string.hpp>
|
||||||
|
#include <vector>
|
||||||
namespace fc {
|
namespace fc {
|
||||||
class value;
|
class value;
|
||||||
template<typename T> class get_typename{};
|
template<typename T> class get_typename{};
|
||||||
|
|
@ -18,4 +19,6 @@ namespace fc {
|
||||||
template<> struct get_typename<void> { static const char* name() { return "char"; } };
|
template<> struct get_typename<void> { static const char* name() { return "char"; } };
|
||||||
template<> struct get_typename<string> { static const char* name() { return "string"; } };
|
template<> struct get_typename<string> { static const char* name() { return "string"; } };
|
||||||
template<> struct get_typename<value> { static const char* name() { return "value"; } };
|
template<> struct get_typename<value> { static const char* name() { return "value"; } };
|
||||||
|
template<> struct get_typename<std::vector<char>> { static const char* name() { return "std::vector<char>"; } };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue