common.hpp: fix documentation of functions
Functions inside namespace are tough to document, bypassing this by documenting the namespace and then using the namespace doc as common.hpp doc in the index Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -27,6 +27,9 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @namespace mraa namespace
|
||||||
|
*/
|
||||||
namespace mraa {
|
namespace mraa {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ functionality.
|
|||||||
|
|
||||||
<center>
|
<center>
|
||||||
| C API Modules | C++ API Classes |
|
| C API Modules | C++ API Classes |
|
||||||
|:----------------------:|:---------------------------:|
|
|:----------------------:|:----------------------------:|
|
||||||
| @ref gpio.h "gpio" | @ref mraa::Gpio "Gpio class" |
|
| @ref gpio.h "gpio" | @ref mraa::Gpio "Gpio class" |
|
||||||
| @ref i2c.h "i2c" | @ref mraa::I2c "I2c class" |
|
| @ref i2c.h "i2c" | @ref mraa::I2c "I2c class" |
|
||||||
| @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
|
| @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
|
||||||
| @ref pwm.h "pwm" | @ref mraa::Pwm "Pwm class" |
|
| @ref pwm.h "pwm" | @ref mraa::Pwm "Pwm class" |
|
||||||
| @ref spi.h "spi" | @ref mraa::Spi "Spi class" |
|
| @ref spi.h "spi" | @ref mraa::Spi "Spi class" |
|
||||||
| @ref common.h "common" | @ref common.hpp "common" |
|
| @ref common.h "common" | @ref mraa "common" |
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
### Hello Mraa
|
### Hello Mraa
|
||||||
|
|||||||
Reference in New Issue
Block a user