MCPcopy Create free account
hub / github.com/c3d/tao3D / AssignIntToInteger

Function AssignIntToInteger

libcryptopp/cryptopp/integer.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35NAMESPACE_BEGIN(CryptoPP)
36
37bool AssignIntToInteger(const std::type_info &valueType, void *pInteger, const void *pInt)
38{
39 if (valueType != typeid(Integer))
40 return false;
41 *reinterpret_cast<Integer *>(pInteger) = *reinterpret_cast<const int *>(pInt);
42 return true;
43}
44
45inline static int Compare(const word *A, const word *B, size_t N)
46{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected