Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix doxy grouping on action & serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Jan 15, 2019
1 parent 17f9d02 commit de2f56b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
11 changes: 2 additions & 9 deletions libraries/eosiolib/action.h
Expand Up @@ -7,15 +7,8 @@

extern "C" {
/**
* @defgroup actionapi Action API
* @ingroup contractdev
* @brief Defines API for for querying action and sending action
*
*/

/**
* @defgroup actioncapi Action C API
* @ingroup actionapi
* @addtogroup action_c Action C API
* @ingroup c_api
* @brief Defines API for querying action and sending action
*
*
Expand Down
18 changes: 6 additions & 12 deletions libraries/eosiolib/serialize.hpp
Expand Up @@ -5,18 +5,12 @@
#include <boost/preprocessor/stringize.hpp>

#define EOSLIB_REFLECT_MEMBER_OP( r, OP, elem ) \
OP t.elem
OP t.elem

/**
* @defgroup serialize Serialize API
* @brief Defines functions to serialize and deserialize object
* @ingroup contractdev
*/

/**
* @defgroup serializecpp Serialize C++ API
* @addtogroup serialize Serialize C++ API
* @brief Defines C++ API to serialize and deserialize object
* @ingroup serialize
* @ingroup cpp_api
* @{
*/

Expand All @@ -36,15 +30,15 @@
template<typename DataStream> \
friend DataStream& operator >> ( DataStream& ds, TYPE& t ){ \
return ds BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_MEMBER_OP, >>, MEMBERS );\
}
}

/**
* Defines serialization and deserialization for a class which inherits from other classes that
* have their serialization and deserialization defined
*
* @brief Defines serialization and deserialization for a class which inherits from other classes that
* have their serialization and deserialization defined
*
*
* @param TYPE - the class to have its serialization and deserialization defined
* @param BASE - a sequence of base class names (basea)(baseb)(basec)
* @param MEMBERS - a sequence of member names. (field1)(field2)(field3)
Expand All @@ -59,5 +53,5 @@
friend DataStream& operator >> ( DataStream& ds, TYPE& t ){ \
ds >> static_cast<BASE&>(t); \
return ds BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_MEMBER_OP, >>, MEMBERS );\
}
}
///@} serializecpp

0 comments on commit de2f56b

Please sign in to comment.