Merge pull request #622
e514f0a
even more typos (Henning Kopp)9abc4b8
more typos fixed (Henning Kopp)0693f3c
fixed typo (Henning Kopp)
This commit is contained in:
commit
153fe0cb75
@ -509,7 +509,7 @@ using namespace std;
|
|||||||
if(0 == chunk_size)
|
if(0 == chunk_size)
|
||||||
{
|
{
|
||||||
//Here is a small confusion
|
//Here is a small confusion
|
||||||
//In breif - if the chunk is the last one we need to get terminating sequence
|
//In brief - if the chunk is the last one we need to get terminating sequence
|
||||||
//along with the cipher, generally in the "ddd\r\n\r\n" form
|
//along with the cipher, generally in the "ddd\r\n\r\n" form
|
||||||
|
|
||||||
for(it++;it != buff.end(); it++)
|
for(it++;it != buff.end(); it++)
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
/*! \file varint.h
|
/*! \file varint.h
|
||||||
* \breif provides the implementation of varint's
|
* \brief provides the implementation of varint's
|
||||||
*
|
*
|
||||||
* The representation of varints is rather odd. The first bit of each
|
* The representation of varints is rather odd. The first bit of each
|
||||||
* octet is significant, it represents wheter there is another part
|
* octet is significant, it represents wheter there is another part
|
||||||
|
@ -29,10 +29,10 @@
|
|||||||
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
|
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
|
||||||
|
|
||||||
/*! \file serialization.h
|
/*! \file serialization.h
|
||||||
* \breif Simple DSL AAPI based on
|
* \brief Simple DSL AAPI based on
|
||||||
*
|
*
|
||||||
* \detailed is_blob_type and has_free_serializer are
|
* \detailed is_blob_type and has_free_serializer are
|
||||||
* both descriptors for dispatching on to the serailize function.
|
* both descriptors for dispatching on to the serialize function.
|
||||||
*
|
*
|
||||||
* The API itself defines a domain specific language via dirty macro
|
* The API itself defines a domain specific language via dirty macro
|
||||||
* hacks. Greenspun's tenth rule is very much in action throughout
|
* hacks. Greenspun's tenth rule is very much in action throughout
|
||||||
@ -170,7 +170,7 @@ inline bool do_serialize(Archive &ar, T &v)
|
|||||||
template <bool W, template <bool> class Archive> \
|
template <bool W, template <bool> class Archive> \
|
||||||
bool do_serialize_object(Archive<W> &ar){
|
bool do_serialize_object(Archive<W> &ar){
|
||||||
|
|
||||||
/*! \macro PREPARE_CUSTON_VECTOR_SERIALIZATION
|
/*! \macro PREPARE_CUSTOM_VECTOR_SERIALIZATION
|
||||||
*/
|
*/
|
||||||
#define PREPARE_CUSTOM_VECTOR_SERIALIZATION(size, vec) \
|
#define PREPARE_CUSTOM_VECTOR_SERIALIZATION(size, vec) \
|
||||||
::serialization::detail::prepare_custom_vector_serialization(size, vec, typename Archive<W>::is_saving())
|
::serialization::detail::prepare_custom_vector_serialization(size, vec, typename Archive<W>::is_saving())
|
||||||
@ -224,7 +224,7 @@ inline bool do_serialize(Archive &ar, T &v)
|
|||||||
if (!r || !ar.stream().good()) return false; \
|
if (!r || !ar.stream().good()) return false; \
|
||||||
} while(0);
|
} while(0);
|
||||||
|
|
||||||
/*! \macro VARING_FIELD(f)
|
/*! \macro VARINT_FIELD(f)
|
||||||
* \brief tags and serializes the varint \a f
|
* \brief tags and serializes the varint \a f
|
||||||
*/
|
*/
|
||||||
#define VARINT_FIELD(f) \
|
#define VARINT_FIELD(f) \
|
||||||
@ -234,7 +234,7 @@ inline bool do_serialize(Archive &ar, T &v)
|
|||||||
if (!ar.stream().good()) return false; \
|
if (!ar.stream().good()) return false; \
|
||||||
} while(0);
|
} while(0);
|
||||||
|
|
||||||
/*! \macro VARING_FIELD_N(t, f)
|
/*! \macro VARINT_FIELD_N(t, f)
|
||||||
*
|
*
|
||||||
* \brief tags (as \a t) and serializes the varint \a f
|
* \brief tags (as \a t) and serializes the varint \a f
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user